@@ -23,7 +23,7 @@ |
||
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 |
@@ -21,7 +21,7 @@ |
||
21 | 21 | |
22 | 22 | public function createArray(NodeValueListInterface $source, ValueListInterface ...$valueLists): ValueListInterface |
23 | 23 | { |
24 | - $createArrayElement = function (array $elements): ValueInterface { |
|
24 | + $createArrayElement = function(array $elements): ValueInterface { |
|
25 | 25 | return new LiteralArrayValue(...$elements); |
26 | 26 | }; |
27 | 27 |
@@ -139,7 +139,7 @@ |
||
139 | 139 | ->setType(MatcherFactoryInterface::class) |
140 | 140 | ->getNode(); |
141 | 141 | $stmts = array_map( |
142 | - function (PhpAstNode $stmt): PhpAstNode { |
|
142 | + function(PhpAstNode $stmt): PhpAstNode { |
|
143 | 143 | return $stmt instanceof Expr ? new Expression($stmt) : $stmt; |
144 | 144 | }, |
145 | 145 | $this->stmts |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | public function deletePaths(NodeValueInterface $rootNode, PathInterface ...$paths): ?NodeValueInterface |
27 | 27 | { |
28 | 28 | $modifier = new DeleteMutation(...$paths); |
29 | - $events = $this |
|
29 | + $events = $this |
|
30 | 30 | ->valueWalker |
31 | 31 | ->createMutableEventIterator($rootNode, new Path(), $modifier); |
32 | 32 | |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | PathInterface ...$paths |
42 | 42 | ): NodeValueInterface { |
43 | 43 | $modifier = new ReplaceMutation($newNode, ...$paths); |
44 | - $events = $this |
|
44 | + $events = $this |
|
45 | 45 | ->valueWalker |
46 | 46 | ->createMutableEventIterator($rootNode, new Path(), $modifier); |
47 | 47 |