@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | public function matchAnyChild(NodeValueListInterface $source): array |
147 | 147 | { |
148 | 148 | return array_map( |
149 | - function (): Matcher\ChildMatcherInterface { |
|
149 | + function(): Matcher\ChildMatcherInterface { |
|
150 | 150 | return new Matcher\AnyChildMatcher; |
151 | 151 | }, |
152 | 152 | $source->getIndexMap()->getInnerIndice() |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | public function matchPropertyStrictly(array $nameLists): array |
157 | 157 | { |
158 | 158 | return array_map( |
159 | - function (array $nameList): Matcher\ChildMatcherInterface { |
|
159 | + function(array $nameList): Matcher\ChildMatcherInterface { |
|
160 | 160 | return new Matcher\StrictPropertyMatcher(...$nameList); |
161 | 161 | }, |
162 | 162 | $nameLists |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | public function matchElementStrictly(array $indexLists): array |
167 | 167 | { |
168 | 168 | return array_map( |
169 | - function (array $indexList): Matcher\ChildMatcherInterface { |
|
169 | + function(array $indexList): Matcher\ChildMatcherInterface { |
|
170 | 170 | return new Matcher\StrictElementMatcher(...$indexList); |
171 | 171 | }, |
172 | 172 | $indexLists |
@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | } |
202 | 202 | } |
203 | 203 | |
204 | - $createArrayElement = function (array $elements) use ($source): ValueInterface { |
|
204 | + $createArrayElement = function(array $elements) use ($source): ValueInterface { |
|
205 | 205 | return new LiteralArrayValue($source->getIndexMap(), ...$elements); |
206 | 206 | }; |
207 | 207 |