Passed
Branch master (f36ac3)
by Artem
02:31
created
src/Traits/Validatable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     public function validateAttribute(string $attribute, $value, array $rules = null): void
46 46
     {
47 47
         if (empty($rules)) {
48
-            if (property_exists($this, 'rules') && ! empty($this->rules[$attribute])) {
48
+            if (property_exists($this, 'rules') && !empty($this->rules[$attribute])) {
49 49
                 $rules = [$attribute => $this->rules[$attribute]];
50 50
             } else {
51 51
                 $rules = [$attribute => []];
Please login to merge, or discard this patch.