Completed
Push — master ( 37a545...2ac5c4 )
by Edward
04:29
created
src/Runtime/Runtime.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     public function matchAnyChild(NodeValueListInterface $source): array
87 87
     {
88 88
         return array_map(
89
-            function (): Matcher\ChildMatcherInterface {
89
+            function(): Matcher\ChildMatcherInterface {
90 90
                 return new Matcher\AnyChildMatcher;
91 91
             },
92 92
             $source->getIndexMap()->getInnerIndice()
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     public function matchPropertyStrictly(array $nameLists): array
97 97
     {
98 98
         return array_map(
99
-            function (array $nameList): Matcher\ChildMatcherInterface {
99
+            function(array $nameList): Matcher\ChildMatcherInterface {
100 100
                 return new Matcher\StrictPropertyMatcher(...$nameList);
101 101
             },
102 102
             $nameLists
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     public function matchElementStrictly(array $indexLists): array
107 107
     {
108 108
         return array_map(
109
-            function (array $indexList): Matcher\ChildMatcherInterface {
109
+            function(array $indexList): Matcher\ChildMatcherInterface {
110 110
                 return new Matcher\StrictElementMatcher(...$indexList);
111 111
             },
112 112
             $indexLists
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
                 ->fetchIndice($source)
123 123
         );
124 124
         return array_map(
125
-            function (int $count) use ($start, $end, $step): Matcher\ChildMatcherInterface {
125
+            function(int $count) use ($start, $end, $step): Matcher\ChildMatcherInterface {
126 126
                 return new Matcher\SliceElementMatcher($count, $start, $end, $step);
127 127
             },
128 128
             $counts
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
             }
151 151
         }
152 152
 
153
-        $createArrayElement = function (array $elements) use ($source): ValueInterface {
153
+        $createArrayElement = function(array $elements) use ($source): ValueInterface {
154 154
             return new LiteralArrayValue($source->getIndexMap(), ...$elements);
155 155
         };
156 156
 
Please login to merge, or discard this patch.