@@ -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) { |
@@ -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): null|float|int|string |
|
33 | + public static function evaluate(array $database, array | null | int | string $field, array $criteria): null | float | int | string |
|
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): string|int |
|
34 | + public static function evaluate(array $database, array | null | int | string $field, array $criteria, bool $returnError = true): string | int |
|
35 | 35 | { |
36 | 36 | $field = self::fieldExtract($database, $field); |
37 | 37 | if ($returnError && $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): null|float|string |
|
34 | + public static function evaluate(array $database, array | null | int | string $field, array $criteria, bool $returnError = true): null | float | string |
|
35 | 35 | { |
36 | 36 | $field = self::fieldExtract($database, $field); |
37 | 37 | if ($field === null) { |
@@ -1325,7 +1325,7 @@ discard block |
||
1325 | 1325 | $objWriter->endElement(); |
1326 | 1326 | } |
1327 | 1327 | |
1328 | - private function writeCellInlineStr(XMLWriter $objWriter, string $mappedType, RichText|string $cellValue): void |
|
1328 | + private function writeCellInlineStr(XMLWriter $objWriter, string $mappedType, RichText | string $cellValue): void |
|
1329 | 1329 | { |
1330 | 1330 | $objWriter->writeAttribute('t', $mappedType); |
1331 | 1331 | if (!$cellValue instanceof RichText) { |
@@ -1345,7 +1345,7 @@ discard block |
||
1345 | 1345 | /** |
1346 | 1346 | * @param string[] $flippedStringTable |
1347 | 1347 | */ |
1348 | - private function writeCellString(XMLWriter $objWriter, string $mappedType, RichText|string $cellValue, array $flippedStringTable): void |
|
1348 | + private function writeCellString(XMLWriter $objWriter, string $mappedType, RichText | string $cellValue, array $flippedStringTable): void |
|
1349 | 1349 | { |
1350 | 1350 | $objWriter->writeAttribute('t', $mappedType); |
1351 | 1351 | if (!$cellValue instanceof RichText) { |
@@ -1355,7 +1355,7 @@ discard block |
||
1355 | 1355 | } |
1356 | 1356 | } |
1357 | 1357 | |
1358 | - private function writeCellNumeric(XMLWriter $objWriter, float|int $cellValue): void |
|
1358 | + private function writeCellNumeric(XMLWriter $objWriter, float | int $cellValue): void |
|
1359 | 1359 | { |
1360 | 1360 | //force a decimal to be written if the type is float |
1361 | 1361 | if (is_float($cellValue)) { |