Passed
Push — master ( 150812...e3f016 )
by Travis
02:01 queued 10s
created
src/AbstractFieldRuleSet.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function except($rules): self
32 32
     {
33
-        $this->except = ! is_array($rules) ? func_get_args() : $rules;
33
+        $this->except = !is_array($rules) ? func_get_args() : $rules;
34 34
 
35 35
         return $this;
36 36
     }
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         }
81 81
 
82 82
         return collect($rules)
83
-            ->reject(function ($rule) {
83
+            ->reject(function($rule) {
84 84
                 return in_array($rule, $this->except);
85 85
             })->toArray();
86 86
     }
Please login to merge, or discard this patch.
src/AbstractResourceRuleSet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 
53 53
     protected function guardAgainstInvalidField(string $field, array $rules)
54 54
     {
55
-        if (! array_key_exists($field, $rules)) {
55
+        if (!array_key_exists($field, $rules)) {
56 56
             throw new OutOfBoundsException("invalid field, '{$field}'");
57 57
         }
58 58
     }
Please login to merge, or discard this patch.