@@ -430,7 +430,7 @@ |
||
430 | 430 | { |
431 | 431 | return array_sum( |
432 | 432 | array_map( |
433 | - function ($value): float|int { |
|
433 | + function ($value): float | int { |
|
434 | 434 | return $value ** 2; |
435 | 435 | }, |
436 | 436 | $values |
@@ -64,7 +64,7 @@ |
||
64 | 64 | * |
65 | 65 | * @return float X-Value |
66 | 66 | */ |
67 | - public function getValueOfXForY($yValue): int|float |
|
67 | + public function getValueOfXForY($yValue): int | float |
|
68 | 68 | { |
69 | 69 | return ($yValue - $this->getIntersect()) / $this->getSlope(); |
70 | 70 | } |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | * |
20 | 20 | * @return float Y-Value |
21 | 21 | */ |
22 | - public function getValueOfYForX($xValue): int|float |
|
22 | + public function getValueOfYForX($xValue): int | float |
|
23 | 23 | { |
24 | 24 | return $this->getIntersect() + $this->getSlope() * $xValue; |
25 | 25 | } |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | * |
32 | 32 | * @return float X-Value |
33 | 33 | */ |
34 | - public function getValueOfXForY($yValue): int|float |
|
34 | + public function getValueOfXForY($yValue): int | float |
|
35 | 35 | { |
36 | 36 | return ($yValue - $this->getIntersect()) / $this->getSlope(); |
37 | 37 | } |
@@ -33,7 +33,7 @@ |
||
33 | 33 | * |
34 | 34 | * @return float|string (string if result is an error) |
35 | 35 | */ |
36 | - public static function evaluate($database, $field, $criteria): string|float |
|
36 | + public static function evaluate($database, $field, $criteria): string | float |
|
37 | 37 | { |
38 | 38 | $field = self::fieldExtract($database, $field); |
39 | 39 | if ($field === null) { |