@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | return true; |
| 71 | 71 | } |
| 72 | 72 | |
| 73 | - return $this->executePropertiesValidation($this->convertToArray( $value )); |
|
| 73 | + return $this->executePropertiesValidation($this->convertToArray($value)); |
|
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | private function executePropertiesValidation($value) |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | |
| 95 | 95 | private function convertToArray($value) |
| 96 | 96 | { |
| 97 | - if (!is_array($value)) { |
|
| 97 | + if (!is_array($value)) { |
|
| 98 | 98 | $value = json_decode(json_encode($value), true); |
| 99 | 99 | } |
| 100 | 100 | return $value; |