Passed
Push — master ( 1cc59e...a8a804 )
by Travis
02:24
created
src/Guards/InListGuard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,10 +66,10 @@
 block discarded – undo
66 66
     private function validateTraversableList($input): bool
67 67
     {
68 68
         $validate = $this->strict
69
-            ? static function ($value) use ($input): bool {
69
+            ? static function($value) use ($input) : bool {
70 70
                 return $value === $input;
71 71
             }
72
-            : static function ($value) use ($input): bool {
72
+            : static function($value) use ($input): bool {
73 73
                 /** @noinspection TypeUnsafeComparisonInspection */
74 74
                 return $value == $input;
75 75
             };
Please login to merge, or discard this patch.
src/InputGuard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
         $error_messages = [];
146 146
         $success        = array_reduce(
147 147
             $this->guards,
148
-            static function (bool $success, Guard $guard) use (&$error_messages): bool {
148
+            static function(bool $success, Guard $guard) use (&$error_messages): bool {
149 149
                 // Check for success/failure for all collected Val's.
150 150
                 if ($guard->success() === false) {
151 151
                     $error_messages[] = $guard->pullErrorMessages();
Please login to merge, or discard this patch.