Passed
Branch master (813469)
by Travis
03:30
created
Category
src/Guards/InListGuard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,10 +70,10 @@
 block discarded – undo
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
             };
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
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     {
65 65
         // Pass a local error messages variable to avoid merging arrays inside a loop.
66 66
         $error_messages = [];
67
-        $success        = array_reduce($this->guards, function (bool $success, Guard $guard) use (&$error_messages) {
67
+        $success        = array_reduce($this->guards, function(bool $success, Guard $guard) use (&$error_messages) {
68 68
             // Check for success/failure for all collected Val's.
69 69
             if ($guard->success() === false) {
70 70
                 $error_messages[] = $guard->pullErrorMessages();
Please login to merge, or discard this patch.