Passed
Push — master ( 9cb16b...0651df )
by Martijn
02:32
created
src/Parser/Structure/Repeat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 
75 75
             $match = $this->parser->parse($input, $offset + $length + $skip, $context);
76 76
             if ($match instanceof Success) {
77
-                $length         += $skip + $match->length;
77
+                $length += $skip + $match->length;
78 78
                 $childMatches[] = $match;
79 79
             }
80 80
         } while (($match instanceof Success)
Please login to merge, or discard this patch.
src/Builder/Implementation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     private function addProcessors(Success $match, $localResults) {
120 120
         if (!empty($this->definition->processors)) {
121 121
             $processors = $this->definition->processors;
122
-            $match->addResultCallback(function (&$results) use ($processors, $localResults) {
122
+            $match->addResultCallback(function(&$results) use ($processors, $localResults) {
123 123
                 foreach ($processors as $key => $processor) {
124 124
                     $results[$key] = $processor($localResults, $results);
125 125
                 }
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
             // ignore
169 169
         }
170 170
 
171
-        return (string)$this->parser;
171
+        return (string) $this->parser;
172 172
     }
173 173
 
174 174
 }
Please login to merge, or discard this patch.