@@ -4648,7 +4648,7 @@ |
||
4648 | 4648 | * It can also happen that the REF structure uses the -1 (FFFF) code to indicate deleted sheets, |
4649 | 4649 | * in which case an Exception is thrown. |
4650 | 4650 | */ |
4651 | - protected function readSheetRangeByRefIndex(int $index): string|false |
|
4651 | + protected function readSheetRangeByRefIndex(int $index): string | false |
|
4652 | 4652 | { |
4653 | 4653 | if (isset($this->ref[$index])) { |
4654 | 4654 | $type = $this->externalBooks[$this->ref[$index]['externalBookIndex']]['type']; |
@@ -299,7 +299,7 @@ discard block |
||
299 | 299 | { |
300 | 300 | }*/ |
301 | 301 | |
302 | - private function readCFFormula(string $recordData, int $offset, int $size, Xls $xls): float|int|string|null |
|
302 | + private function readCFFormula(string $recordData, int $offset, int $size, Xls $xls): float | int | string | null |
|
303 | 303 | { |
304 | 304 | try { |
305 | 305 | $formula = substr($recordData, $offset, $size); |
@@ -316,7 +316,7 @@ discard block |
||
316 | 316 | } |
317 | 317 | } |
318 | 318 | |
319 | - private function setCFRules(array $cellRanges, string $type, string $operator, null|float|int|string $formula1, null|float|int|string $formula2, Style $style, bool $noFormatSet, Xls $xls): void |
|
319 | + private function setCFRules(array $cellRanges, string $type, string $operator, null | float | int | string $formula1, null | float | int | string $formula2, Style $style, bool $noFormatSet, Xls $xls): void |
|
320 | 320 | { |
321 | 321 | foreach ($cellRanges as $cellRange) { |
322 | 322 | $conditional = new Conditional(); |
@@ -110,10 +110,10 @@ discard block |
||
110 | 110 | // should be consistent with Writer\Xls\Style\CellBorder |
111 | 111 | final const BORDER_STYLE_MAP = [ |
112 | 112 | Border::BORDER_NONE, // => 0x00, |
113 | - Border::BORDER_THIN, // => 0x01, |
|
113 | + Border::BORDER_THIN, // => 0x01, |
|
114 | 114 | Border::BORDER_MEDIUM, // => 0x02, |
115 | 115 | Border::BORDER_DASHED, // => 0x03, |
116 | - Border::BORDER_DOTTED, // => 0x04, |
|
116 | + Border::BORDER_DOTTED, // => 0x04, |
|
117 | 117 | Border::BORDER_THICK, // => 0x05, |
118 | 118 | Border::BORDER_DOUBLE, // => 0x06, |
119 | 119 | Border::BORDER_HAIR, // => 0x07, |
@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | * |
276 | 276 | * @param string $data Binary string that is at least 8 bytes long |
277 | 277 | */ |
278 | - protected static function extractNumber(string $data): int|float |
|
278 | + protected static function extractNumber(string $data): int | float |
|
279 | 279 | { |
280 | 280 | $rknumhigh = self::getInt4d($data, 4); |
281 | 281 | $rknumlow = self::getInt4d($data, 0); |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | return $value; |
301 | 301 | } |
302 | 302 | |
303 | - protected static function getIEEE754(int $rknum): float|int |
|
303 | + protected static function getIEEE754(int $rknum): float | int |
|
304 | 304 | { |
305 | 305 | if (($rknum & 0x02) != 0) { |
306 | 306 | $value = $rknum >> 2; |