@@ -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 | |
@@ -95,8 +95,8 @@ |
||
| 95 | 95 | ->setType(EvaluatorInterface::class) |
| 96 | 96 | ->getNode(); |
| 97 | 97 | $stmts = array_map( |
| 98 | - function (PhpAstNode $stmt): PhpAstNode { |
|
| 99 | - return $stmt instanceof Expr ? new Expression($stmt): $stmt; |
|
| 98 | + function(PhpAstNode $stmt): PhpAstNode { |
|
| 99 | + return $stmt instanceof Expr ? new Expression($stmt) : $stmt; |
|
| 100 | 100 | }, |
| 101 | 101 | $this->stmts |
| 102 | 102 | ); |
@@ -131,7 +131,7 @@ |
||
| 131 | 131 | } |
| 132 | 132 | } |
| 133 | 133 | |
| 134 | - $createArrayElement = function (array $elements) use ($source): ValueInterface { |
|
| 134 | + $createArrayElement = function(array $elements) use ($source): ValueInterface { |
|
| 135 | 135 | return new LiteralArrayValue($source->getIndexMap(), ...$elements); |
| 136 | 136 | }; |
| 137 | 137 | |