Passed
Branch main (a875d8)
by Sammy
03:33 queued 01:03
created
src/Grammar/Grammar.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,12 +11,12 @@
 block discarded – undo
11 11
      * @return string : the string surrounded by the tick character
12 12
      * 
13 13
      */
14
-    public static function identifier($reference, $tick='`'): string
14
+    public static function identifier($reference, $tick = '`'): string
15 15
     {
16 16
         if (is_array($reference)) {
17 17
             $identifier = $reference[0];
18 18
             if (isset($reference[1])) {
19
-                $identifier = $identifier.$tick . '.' . $tick.$reference[1];
19
+                $identifier = $identifier.$tick.'.'.$tick.$reference[1];
20 20
             }
21 21
             $reference = $identifier;
22 22
         }
Please login to merge, or discard this patch.
src/Grammar/Predicate.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -112,8 +112,9 @@  discard block
 block discarded – undo
112 112
      */
113 113
     private function bindLabel(string $prefix = null): string
114 114
     {
115
-        if ($this->bind_label !== null)
116
-            return $this->bind_label;
115
+        if ($this->bind_label !== null) {
116
+                    return $this->bind_label;
117
+        }
117 118
 
118 119
         $this->bind_label = '';
119 120
         if (is_string($this->right)) {
@@ -124,8 +125,9 @@  discard block
 block discarded – undo
124 125
             $this->bind_label .= $this->left;
125 126
         }
126 127
 
127
-        if ($prefix !== null)
128
-            $this->bind_label = $prefix . '_' . $this->bind_label;
128
+        if ($prefix !== null) {
129
+                    $this->bind_label = $prefix . '_' . $this->bind_label;
130
+        }
129 131
 
130 132
         return $this->bind_label;
131 133
     }
Please login to merge, or discard this patch.