Completed
Push — master ( d8547b...84c8ba )
by Michal
03:40
created
src/Utils/BufferedQuery.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
              * be ignored.
201 201
              */
202 202
             if ((($this->status & static::STATUS_COMMENT) == 0) && ($this->query[$i] === '\\')) {
203
-                $this->current .= $this->query[$i] . $this->query[++$i];
203
+                $this->current .= $this->query[$i].$this->query[++$i];
204 204
                 continue;
205 205
             }
206 206
 
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
              * statement. This is the reason for the last condition.
296 296
              */
297 297
             if (($i + 9 < $len)
298
-                && (($this->query[$i    ] === 'D') || ($this->query[$i    ] === 'd'))
298
+                && (($this->query[$i] === 'D') || ($this->query[$i] === 'd'))
299 299
                 && (($this->query[$i + 1] === 'E') || ($this->query[$i + 1] === 'e'))
300 300
                 && (($this->query[$i + 2] === 'L') || ($this->query[$i + 2] === 'l'))
301 301
                 && (($this->query[$i + 3] === 'I') || ($this->query[$i + 3] === 'i'))
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
                         // Appending the `DELIMITER` statement that was just
338 338
                         // found to the current statement.
339 339
                         $ret = trim(
340
-                            $this->current . ' ' . substr($this->query, $iBak, $i - $iBak)
340
+                            $this->current.' '.substr($this->query, $iBak, $i - $iBak)
341 341
                         );
342 342
                     }
343 343
 
Please login to merge, or discard this patch.