Passed
Push — master ( 1b4865...c6e62a )
by Edward
02:24
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/Runtime/Runtime.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     public function matchAnyChild(NodeValueListInterface $source): array
144 144
     {
145 145
         return array_map(
146
-            function (): Matcher\ChildMatcherInterface {
146
+            function(): Matcher\ChildMatcherInterface {
147 147
                 return new Matcher\AnyChildMatcher;
148 148
             },
149 149
             $source->getIndexMap()->getInnerIndice()
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     public function matchPropertyStrictly(array $nameLists): array
154 154
     {
155 155
         return array_map(
156
-            function (array $nameList): Matcher\ChildMatcherInterface {
156
+            function(array $nameList): Matcher\ChildMatcherInterface {
157 157
                 return new Matcher\StrictPropertyMatcher(...$nameList);
158 158
             },
159 159
             $nameLists
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     public function matchElementStrictly(array $indexLists): array
164 164
     {
165 165
         return array_map(
166
-            function (array $indexList): Matcher\ChildMatcherInterface {
166
+            function(array $indexList): Matcher\ChildMatcherInterface {
167 167
                 return new Matcher\StrictElementMatcher(...$indexList);
168 168
             },
169 169
             $indexLists
Please login to merge, or discard this patch.
src/Query/QueryCallbackBuilder.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.