@@ -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 | } |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | |
| 39 | 39 | // yield empty Generator. |
| 40 | 40 | // We do not want to yield any errors but we need PHP to generate proper code. That's the trick. |
| 41 | - true ?: yield true; // could be any value. never invoked. |
|
| 41 | + true ?: yield true; // could be any value. never invoked. |
|
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /** |
@@ -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 | } |