@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | */ |
| 76 | 76 | public function toJsonSelector(string $expression): JsonSelector |
| 77 | 77 | { |
| 78 | - if (! $this->isJsonSelector($expression)) { |
|
| 78 | + if ( ! $this->isJsonSelector($expression)) { |
|
| 79 | 79 | throw new Exception('JSON expression must contain at least 2 values, the table column and at least 1 node.', 1); |
| 80 | 80 | } |
| 81 | 81 | |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | $column = array_shift($parts); |
| 86 | 86 | $nodes = $parts; |
| 87 | 87 | |
| 88 | - if (! is_string($column)) { |
|
| 88 | + if ( ! is_string($column)) { |
|
| 89 | 89 | throw new Exception('JSON expression must contain a valid column name', 1); |
| 90 | 90 | } |
| 91 | 91 | |