← All changes
|
libraries/vendor/PhpSpreadsheet/Reader/Xlsx/TableReader.php
+1
-1
3.3.1
→
3.4
View file →
| @@ -33,9 +33,9 @@ | ||
| 33 | 33 | public function load(array $tableStyles, array $dxfs): void |
| 34 | 34 | { |
| 35 | 35 | $this->tableAttributes = $this->tableXml->attributes() ?? []; |
| 36 | 36 | // Remove all "$" in the table range |
| 37 | - $tableRange = (string) preg_replace('/\$/', '', $this->tableAttributes['ref'] ?? ''); | |
| 37 | + $tableRange = (string) preg_replace('/\$/', '', (string) ($this->tableAttributes['ref'] ?? '')); | |
| 38 | 38 | if (str_contains($tableRange, ':')) { |
| 39 | 39 | $this->readTable($tableRange, $tableStyles, $dxfs); |
| 40 | 40 | } |
| 41 | 41 | } |