Completed
Push — master ( 113bfa...89e2e4 )
by Edward
07:06
created
src/Runtime/Aggregator/StdDevAggregator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         }
24 24
 
25 25
         $meanValue = array_sum($dataList) / $count;
26
-        $calculateSquaredDifferenceFromMean = function ($value) use ($meanValue): float {
26
+        $calculateSquaredDifferenceFromMean = function($value) use ($meanValue): float {
27 27
             return ($value - $meanValue) ** 2;
28 28
         };
29 29
 
Please login to merge, or discard this patch.
src/Query/CallbackBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,8 +84,8 @@
 block discarded – undo
84 84
             ->setType(NodeValueInterface::class)
85 85
             ->getNode();
86 86
         $stmts = array_map(
87
-            function (PhpAstNode $stmt): PhpAstNode {
88
-                return $stmt instanceof Expr ? new Expression($stmt): $stmt;
87
+            function(PhpAstNode $stmt): PhpAstNode {
88
+                return $stmt instanceof Expr ? new Expression($stmt) : $stmt;
89 89
             },
90 90
             $this->stmts
91 91
         );
Please login to merge, or discard this patch.
src/Runtime/Runtime.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.