@@ -94,26 +94,26 @@ public function testWhenEmpty()
94
94
95
95
public function testWhenFalse ()
96
96
{
97
- $ this ->assertSame ('when ' , (string ) $ this ->stringable ('when ' )->when (false ,function ($ stringable ,$ value ){
97
+ $ this ->assertSame ('when ' , (string ) $ this ->stringable ('when ' )->when (false , function ($ stringable , $ value ) {
98
98
return $ stringable ->append ($ value )->append ('false ' );
99
99
}));
100
-
101
- $ this ->assertSame ('when false fallbacks to default ' , (string ) $ this ->stringable ('when false ' )->when (false ,function ($ stringable ,$ value ){
100
+
101
+ $ this ->assertSame ('when false fallbacks to default ' , (string ) $ this ->stringable ('when false ' )->when (false , function ($ stringable , $ value ) {
102
102
return $ stringable ->append ($ value );
103
- },function ($ stringable ){
103
+ }, function ($ stringable ) {
104
104
return $ stringable ->append ('fallbacks to default ' );
105
105
}));
106
106
}
107
107
108
108
public function testWhenTrue ()
109
109
{
110
- $ this ->assertSame ('when true ' , (string ) $ this ->stringable ('when ' )->when (true ,function ($ stringable ){
110
+ $ this ->assertSame ('when true ' , (string ) $ this ->stringable ('when ' )->when (true , function ($ stringable ) {
111
111
return $ stringable ->append ('true ' );
112
112
}));
113
-
114
- $ this ->assertSame ('gets a value from if ' , (string ) $ this ->stringable ('gets a value ' )->when ('from if ' ,function ($ stringable ,$ value ){
113
+
114
+ $ this ->assertSame ('gets a value from if ' , (string ) $ this ->stringable ('gets a value ' )->when ('from if ' , function ($ stringable , $ value ) {
115
115
return $ stringable ->append ($ value );
116
- },function ($ stringable ){
116
+ }, function ($ stringable ) {
117
117
return $ stringable ->append ('fallbacks to default ' );
118
118
}));
119
119
}
0 commit comments