@@ -29,7 +29,7 @@ |
||
29 | 29 | * @return array|float|string If an array of numbers is passed as an argument, then the returned result will also be an array |
30 | 30 | * with the same dimensions |
31 | 31 | */ |
32 | - public static function distribution(mixed $sampleSuccesses, mixed $sampleNumber, mixed $populationSuccesses, mixed $populationNumber): array|string|float |
|
32 | + public static function distribution(mixed $sampleSuccesses, mixed $sampleNumber, mixed $populationSuccesses, mixed $populationNumber): array | string | float |
|
33 | 33 | { |
34 | 34 | if ( |
35 | 35 | is_array($sampleSuccesses) || is_array($sampleNumber) |
@@ -17,7 +17,7 @@ |
||
17 | 17 | $this->callback = $callback; |
18 | 18 | } |
19 | 19 | |
20 | - public function execute(float $probability): string|int|float |
|
20 | + public function execute(float $probability): string | int | float |
|
21 | 21 | { |
22 | 22 | $xLo = 100; |
23 | 23 | $xHi = 0; |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | * @return array|float|string If an array of numbers is passed as an argument, then the returned result will also be an array |
24 | 24 | * with the same dimensions |
25 | 25 | */ |
26 | - public static function distribution(mixed $value): array|string|float |
|
26 | + public static function distribution(mixed $value): array | string | float |
|
27 | 27 | { |
28 | 28 | if (is_array($value)) { |
29 | 29 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value); |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * @return array|float|string If an array of numbers is passed as an argument, then the returned result will also be an array |
56 | 56 | * with the same dimensions |
57 | 57 | */ |
58 | - public static function inverse(mixed $probability): array|string|float |
|
58 | + public static function inverse(mixed $probability): array | string | float |
|
59 | 59 | { |
60 | 60 | if (is_array($probability)) { |
61 | 61 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $probability); |
@@ -30,7 +30,7 @@ |
||
30 | 30 | * the column label in which you specify a condition for the |
31 | 31 | * column. |
32 | 32 | */ |
33 | - public static function evaluate(array $database, array|null|int|string $field, array $criteria): string|float |
|
33 | + public static function evaluate(array $database, array | null | int | string $field, array $criteria): string | float |
|
34 | 34 | { |
35 | 35 | $field = self::fieldExtract($database, $field); |
36 | 36 | if ($field === null) { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | * the column label in which you specify a condition for the |
31 | 31 | * column. |
32 | 32 | */ |
33 | - public static function evaluate(array $database, array|null|int|string $field, array $criteria): string|int|float |
|
33 | + public static function evaluate(array $database, array | null | int | string $field, array $criteria): string | int | float |
|
34 | 34 | { |
35 | 35 | $field = self::fieldExtract($database, $field); |
36 | 36 | if ($field === null) { |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * the column label in which you specify a condition for the |
32 | 32 | * column. |
33 | 33 | */ |
34 | - public static function evaluate(array $database, array|null|int|string $field, array $criteria): float|string |
|
34 | + public static function evaluate(array $database, array | null | int | string $field, array $criteria): float | string |
|
35 | 35 | { |
36 | 36 | $field = self::fieldExtract($database, $field); |
37 | 37 | if ($field === null) { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | * the column label in which you specify a condition for the |
31 | 31 | * column. |
32 | 32 | */ |
33 | - public static function evaluate(array $database, array|null|int|string $field, array $criteria, bool $returnNull = false): null|float|string |
|
33 | + public static function evaluate(array $database, array | null | int | string $field, array $criteria, bool $returnNull = false): null | float | string |
|
34 | 34 | { |
35 | 35 | $field = self::fieldExtract($database, $field); |
36 | 36 | if ($field === null) { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | * the column label in which you specify a condition for the |
31 | 31 | * column. |
32 | 32 | */ |
33 | - public static function evaluate(array $database, array|null|int|string $field, array $criteria): string|int |
|
33 | + public static function evaluate(array $database, array | null | int | string $field, array $criteria): string | int |
|
34 | 34 | { |
35 | 35 | $field = self::fieldExtract($database, $field); |
36 | 36 | if ($field === null) { |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * the column label in which you specify a condition for the |
32 | 32 | * column. |
33 | 33 | */ |
34 | - public static function evaluate(array $database, array|null|int|string $field, array $criteria, bool $returnError = true): float|string|null |
|
34 | + public static function evaluate(array $database, array | null | int | string $field, array $criteria, bool $returnError = true): float | string | null |
|
35 | 35 | { |
36 | 36 | $field = self::fieldExtract($database, $field); |
37 | 37 | if ($field === null) { |