Completed
Push — master ( b124c6...25daee )
by Martijn
02:35
created
src/Parser/Output/ResultTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public function setResult($key = null, $value = null)
36 36
     {
37
-        $this->resultCallbacks[] = function (&$results, $text) use (&$key, &$value) {
37
+        $this->resultCallbacks[] = function(&$results, $text) use (&$key, &$value) {
38 38
             if (is_callable($value)) {
39 39
                 $text = $value($text);
40 40
             } elseif ($value !== null) {
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     public function concatResult($key = null, $value = null)
60 60
     {
61
-        $this->resultCallbacks[] = function (&$results, $text) use (&$key, &$value) {
61
+        $this->resultCallbacks[] = function(&$results, $text) use (&$key, &$value) {
62 62
             if (is_callable($value)) {
63 63
                 $text = $value($text);
64 64
             } elseif ($value !== null) {
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      */
88 88
     public function pushResult($key = null, $value = null)
89 89
     {
90
-        $this->resultCallbacks[] = function (&$results, $text) use (&$key, &$value) {
90
+        $this->resultCallbacks[] = function(&$results, $text) use (&$key, &$value) {
91 91
             if (is_callable($value)) {
92 92
                 $text = $value($text);
93 93
             } elseif ($value !== null) {
Please login to merge, or discard this patch.
src/Builder/Implementation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
     {
124 124
         if (!empty($this->definition->processors)) {
125 125
             $processors = $this->definition->processors;
126
-            $match->addResultCallback(function (&$results) use ($processors, $localResults) {
126
+            $match->addResultCallback(function(&$results) use ($processors, $localResults) {
127 127
                 foreach ($processors as $key => $processor) {
128 128
                     $results[$key] = $processor($localResults, $results);
129 129
                 }
Please login to merge, or discard this patch.