Passed
Branch master (c8d25d)
by Glynn
03:34 queued 01:07
created
src/JSON/JsonSelectorHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.