@@ -90,7 +90,7 @@ |
||
90 | 90 | |
91 | 91 | $meanSquareDeviations[$delimiter] = array_reduce( |
92 | 92 | $series, |
93 | - fn ($sum, $value): int|float => $sum + ($value - $median) ** 2 |
|
93 | + fn ($sum, $value): int | float => $sum + ($value - $median) ** 2 |
|
94 | 94 | ) / count($series); |
95 | 95 | } |
96 | 96 |
@@ -48,7 +48,7 @@ |
||
48 | 48 | * If an array of values is passed as the $testValue argument, then the returned result will also be |
49 | 49 | * an array with the same dimensions |
50 | 50 | */ |
51 | - public static function cell(mixed $row, mixed $column, mixed $relativity = 1, mixed $referenceStyle = true, mixed $sheetName = ''): array|string |
|
51 | + public static function cell(mixed $row, mixed $column, mixed $relativity = 1, mixed $referenceStyle = true, mixed $sheetName = ''): array | string |
|
52 | 52 | { |
53 | 53 | if ( |
54 | 54 | is_array($row) || is_array($column) |
@@ -30,7 +30,7 @@ |
||
30 | 30 | * If an array of numbers is passed as an argument, then the returned result will also be an array |
31 | 31 | * with the same dimensions |
32 | 32 | */ |
33 | - public static function distribution(mixed $sampleSuccesses, mixed $sampleNumber, mixed $populationSuccesses, mixed $populationNumber): array|string|float |
|
33 | + public static function distribution(mixed $sampleSuccesses, mixed $sampleNumber, mixed $populationSuccesses, mixed $populationNumber): array | string | float |
|
34 | 34 | { |
35 | 35 | if ( |
36 | 36 | is_array($sampleSuccesses) || is_array($sampleNumber) |
@@ -2144,7 +2144,7 @@ discard block |
||
2144 | 2144 | * @param float $scale_x The horizontal scale |
2145 | 2145 | * @param float $scale_y The vertical scale |
2146 | 2146 | */ |
2147 | - public function insertBitmap($row, $col, GdImage|string $bitmap, $x = 0, $y = 0, $scale_x = 1, $scale_y = 1): void |
|
2147 | + public function insertBitmap($row, $col, GdImage | string $bitmap, $x = 0, $y = 0, $scale_x = 1, $scale_y = 1): void |
|
2148 | 2148 | { |
2149 | 2149 | $bitmap_array = $bitmap instanceof GdImage |
2150 | 2150 | ? $this->processBitmapGd($bitmap) |
@@ -2286,7 +2286,7 @@ discard block |
||
2286 | 2286 | * @param int $rwB Row containing bottom right corner of object |
2287 | 2287 | * @param int $dyB Distance from bottom of cell |
2288 | 2288 | */ |
2289 | - private function writeObjPicture(int $colL, int $dxL, int $rwT, int|float $dyT, int $colR, int $dxR, int $rwB, int $dyB): void |
|
2289 | + private function writeObjPicture(int $colL, int $dxL, int $rwT, int | float $dyT, int $colR, int $dxR, int $rwB, int $dyB): void |
|
2290 | 2290 | { |
2291 | 2291 | $record = 0x005D; // Record identifier |
2292 | 2292 | $length = 0x003C; // Bytes to follow |
@@ -424,7 +424,7 @@ |
||
424 | 424 | { |
425 | 425 | return array_sum( |
426 | 426 | array_map( |
427 | - fn ($value): float|int => $value ** 2, |
|
427 | + fn ($value): float | int => $value ** 2, |
|
428 | 428 | $values |
429 | 429 | ) |
430 | 430 | ); |