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:
oleibman
2025-02-16 14:35:24 -08:00
committed by GitHub
parent af5ff6b11c
commit ffe88c1cef
+1 -1
View File
@@ -1125,7 +1125,7 @@ class Spreadsheet implements JsonSerializable
$this->$key = [];
foreach ($currentCollection as $item) {
$clone = clone $item;
$this->$key[] = $clone;
$this->{$key}[] = $clone;
}
break;