@@ -45,7 +45,7 @@ |
||
| 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 => []]; |