@@ -57,7 +57,7 @@ discard block |
||
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 |
||
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 | } |