@@ -70,10 +70,10 @@ |
||
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | $validate = $this->strict |
| 73 | - ? function ($value) use ($input): bool { |
|
| 73 | + ? function($value) use ($input) : bool { |
|
| 74 | 74 | return $value === $input; |
| 75 | 75 | } |
| 76 | - : function ($value) use ($input): bool { |
|
| 76 | + : function($value) use ($input): bool { |
|
| 77 | 77 | /** @noinspection TypeUnsafeComparisonInspection */ |
| 78 | 78 | return $value == $input; |
| 79 | 79 | }; |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | $error_messages = []; |
| 76 | 76 | $success = array_reduce( |
| 77 | 77 | $this->guards, |
| 78 | - function (bool $success, Guard $guard) use (&$error_messages): bool { |
|
| 78 | + function(bool $success, Guard $guard) use (&$error_messages): bool { |
|
| 79 | 79 | // Check for success/failure for all collected Val's. |
| 80 | 80 | if ($guard->success() === false) { |
| 81 | 81 | $error_messages[] = $guard->pullErrorMessages(); |