@@ -46,11 +46,11 @@ |
||
46 | 46 | return new ValidationResult(ValidationResult::STATUS_ERROR, ['missing data']); |
47 | 47 | } |
48 | 48 | |
49 | - if (!empty($this->rawInput) && json_last_error()) { |
|
49 | + if ( ! empty($this->rawInput) && json_last_error()) { |
|
50 | 50 | return new ValidationResult(ValidationResult::STATUS_ERROR, [json_last_error_msg()]); |
51 | 51 | } |
52 | 52 | |
53 | - if (!$value && $this->isRequired() === self::OPTIONAL) { |
|
53 | + if ( ! $value && $this->isRequired() === self::OPTIONAL) { |
|
54 | 54 | return new ValidationResult(ValidationResult::STATUS_OK); |
55 | 55 | } |
56 | 56 |