mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-03 22:19:19 +00:00
Update Spreadsheet.php
An "ambiguity" reported by Version that stopped being ambiguous with Php 7.0. I am very close to dropping this check.
This commit is contained in:
@@ -1125,7 +1125,7 @@ class Spreadsheet implements JsonSerializable
|
||||
$this->$key = [];
|
||||
foreach ($currentCollection as $item) {
|
||||
$clone = clone $item;
|
||||
$this->$key[] = $clone;
|
||||
$this->{$key}[] = $clone;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user