@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | * |
24 | 24 | * @param mixed ...$args Data values |
25 | 25 | */ |
26 | - public static function geometric(mixed ...$args): float|int|string |
|
26 | + public static function geometric(mixed ...$args): float | int | string |
|
27 | 27 | { |
28 | 28 | $aArgs = Functions::flattenArray($args); |
29 | 29 | |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | * |
50 | 50 | * @param mixed ...$args Data values |
51 | 51 | */ |
52 | - public static function harmonic(mixed ...$args): string|float|int |
|
52 | + public static function harmonic(mixed ...$args): string | float | int |
|
53 | 53 | { |
54 | 54 | // Loop through arguments |
55 | 55 | $aArgs = Functions::flattenArray($args); |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | * |
91 | 91 | * @param mixed $args Data values |
92 | 92 | */ |
93 | - public static function trim(mixed ...$args): float|string |
|
93 | + public static function trim(mixed ...$args): float | string |
|
94 | 94 | { |
95 | 95 | $aArgs = Functions::flattenArray($args); |
96 | 96 |
@@ -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; |
@@ -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) { |
@@ -33,7 +33,7 @@ |
||
33 | 33 | * |
34 | 34 | * @return float|string (string if result is an error) |
35 | 35 | */ |
36 | - public static function evaluate(array $database, array|null|int|string $field, array $criteria): string|float |
|
36 | + public static function evaluate(array $database, array | null | int | string $field, array $criteria): string | float |
|
37 | 37 | { |
38 | 38 | $field = self::fieldExtract($database, $field); |
39 | 39 | if ($field === null) { |