Completed
Pull Request — master (#20)
by Alexander
69:33 queued 44:05
created
src/Validators/ConstRangeValidator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     public function getClosure(): \Closure
59 59
     {
60
-        return function ($model, $attribute) {
60
+        return function($model, $attribute) {
61 61
             $prefix = $this->prefix ?? strtoupper($attribute) . '_';
62 62
             $class = $this->targetClass ?? get_class($model);
63 63
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
             return $constants;
107 107
         }
108 108
 
109
-        return array_filter($constants, function (string $constant): bool {
109
+        return array_filter($constants, function(string $constant): bool {
110 110
             return !in_array($constant, $this->except);
111 111
         });
112 112
     }
Please login to merge, or discard this patch.