@@ -18,8 +18,7 @@ |
||
18 | 18 | $this->isAsAsserted = IsAsAsserted::withAssertionAndErrorFormatter( |
19 | 19 | 'is_resource', |
20 | 20 | is_callable($errorFormatter) ? |
21 | - $errorFormatter : |
|
22 | - function ($data) { |
|
21 | + $errorFormatter : function($data) { |
|
23 | 22 | return [self::NOT_A_RESOURCE]; |
24 | 23 | } |
25 | 24 | ); |
@@ -16,8 +16,7 @@ |
||
16 | 16 | $this->isAsAsserted = IsAsAsserted::withAssertionAndErrorFormatter( |
17 | 17 | 'is_array', |
18 | 18 | is_callable($errorFormatter) ? |
19 | - $errorFormatter : |
|
20 | - function ($data) { |
|
19 | + $errorFormatter : function($data) { |
|
21 | 20 | return [self::NOT_AN_ARRAY]; |
22 | 21 | } |
23 | 22 | ); |