@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | * |
14 | 14 | * @return mixed[]|string |
15 | 15 | */ |
16 | - public static function tocol(mixed $array, mixed $ignore = 0, mixed $byColumn = false): array|string |
|
16 | + public static function tocol(mixed $array, mixed $ignore = 0, mixed $byColumn = false): array | string |
|
17 | 17 | { |
18 | 18 | $result = self::torow($array, $ignore, $byColumn); |
19 | 19 | if (is_array($result)) { |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * |
29 | 29 | * @return mixed[]|string |
30 | 30 | */ |
31 | - public static function torow(mixed $array, mixed $ignore = 0, mixed $byColumn = false): array|string |
|
31 | + public static function torow(mixed $array, mixed $ignore = 0, mixed $byColumn = false): array | string |
|
32 | 32 | { |
33 | 33 | if (!is_numeric($ignore)) { |
34 | 34 | return ExcelError::VALUE(); |
@@ -53,7 +53,7 @@ |
||
53 | 53 | * |
54 | 54 | * @return RichText|string Sanitized value |
55 | 55 | */ |
56 | - public static function checkString(null|RichText|string $textValue, bool $preserveCr = false): RichText|string |
|
56 | + public static function checkString(null | RichText | string $textValue, bool $preserveCr = false): RichText | string |
|
57 | 57 | { |
58 | 58 | if ($textValue instanceof RichText) { |
59 | 59 | // TODO: Sanitize Rich-Text string (max. character count is 32,767) |