@@ -50,7 +50,7 @@ |
||
50 | 50 | */ |
51 | 51 | public static function notNull() |
52 | 52 | { |
53 | - return new CallableRule(function ($input) { |
|
53 | + return new CallableRule(function($input) { |
|
54 | 54 | return $input !== null; |
55 | 55 | }, MessageCodes::NOT_NULL); |
56 | 56 | } |
@@ -28,6 +28,6 @@ |
||
28 | 28 | { |
29 | 29 | // yield empty Generator. |
30 | 30 | // We do not want to yield any errors but we need PHP to generate proper code. That's the trick. |
31 | - true ?: yield true; // could be any value. never invoked. |
|
31 | + true ?: yield true; // could be any value. never invoked. |
|
32 | 32 | } |
33 | 33 | } |
@@ -28,6 +28,6 @@ |
||
28 | 28 | { |
29 | 29 | // yield empty Generator. |
30 | 30 | // We do not want to yield any errors but we need PHP to generate proper code. That's the trick. |
31 | - true ?: yield true; // could be any value. never invoked. |
|
31 | + true ?: yield true; // could be any value. never invoked. |
|
32 | 32 | } |
33 | 33 | } |