@@ -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 |
@@ -119,8 +119,8 @@ |
||
119 | 119 | ->setType(MatcherFactoryInterface::class) |
120 | 120 | ->getNode(); |
121 | 121 | $stmts = array_map( |
122 | - function (PhpAstNode $stmt): PhpAstNode { |
|
123 | - return $stmt instanceof Expr ? new Expression($stmt): $stmt; |
|
122 | + function(PhpAstNode $stmt): PhpAstNode { |
|
123 | + return $stmt instanceof Expr ? new Expression($stmt) : $stmt; |
|
124 | 124 | }, |
125 | 125 | $this->stmts |
126 | 126 | ); |
@@ -21,7 +21,7 @@ |
||
21 | 21 | |
22 | 22 | public function createArray(NodeValueListInterface $source, ValueListInterface ...$valueLists): ValueListInterface |
23 | 23 | { |
24 | - $createArrayElement = function (array $elements) use ($source): ValueInterface { |
|
24 | + $createArrayElement = function(array $elements) use ($source): ValueInterface { |
|
25 | 25 | return new LiteralArrayValue($source->getIndexMap(), ...$elements); |
26 | 26 | }; |
27 | 27 |