Completed
Branch master (15dd7b)
by Edward
03:10
created
Category
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
@@ -67,8 +67,8 @@
 block discarded – undo
67 67
             ->setType(NodeValueInterface::class)
68 68
             ->getNode();
69 69
         $stmts = array_map(
70
-            function (\PhpParser\Node $stmt): \PhpParser\Node {
71
-                return $stmt instanceof Expr ? new Expression($stmt): $stmt;
70
+            function(\PhpParser\Node $stmt): \PhpParser\Node {
71
+                return $stmt instanceof Expr ? new Expression($stmt) : $stmt;
72 72
             },
73 73
             $this->stmts
74 74
         );
Please login to merge, or discard this patch.