Passed
Push — master ( a79095...a4cd08 )
by Maurício
03:50 queued 40s
created
src/Utils/BufferedQuery.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * The current status of the parser.
64 64
      */
65
-    public int|null $status = null;
65
+    public int | null $status = null;
66 66
 
67 67
     /**
68 68
      * The last incomplete query that was extracted.
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      *
110 110
      * @param bool $end whether the end of the buffer was reached
111 111
      */
112
-    public function extract(bool $end = false): string|false
112
+    public function extract(bool $end = false): string | false
113 113
     {
114 114
         /**
115 115
          * The last parsed position.
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
 
302 302
                 // Parsing the delimiter.
303 303
                 $delimiter = '';
304
-                while (($i < $len) && (! Context::isWhitespace($this->query[$i]))) {
304
+                while (($i < $len) && (!Context::isWhitespace($this->query[$i]))) {
305 305
                     $delimiter .= $this->query[$i++];
306 306
                 }
307 307
 
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
 
317 317
                     // Whether this statement should be returned or not.
318 318
                     $ret = '';
319
-                    if (! empty($this->options['parse_delimiter'])) {
319
+                    if (!empty($this->options['parse_delimiter'])) {
320 320
                         // Appending the `DELIMITER` statement that was just
321 321
                         // found to the current statement.
322 322
                         $ret = trim(
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
                 $ret = $this->current;
360 360
 
361 361
                 // If needed, adds a delimiter at the end of the statement.
362
-                if (! empty($this->options['add_delimiter'])) {
362
+                if (!empty($this->options['add_delimiter'])) {
363 363
                     $ret .= $this->delimiter;
364 364
                 }
365 365
 
Please login to merge, or discard this patch.