Quickfix - default Worksheet in CellAddress constructor to null
This commit is contained in:
parent
10d175e686
commit
b6f9868042
|
|
@ -32,7 +32,7 @@ class CellAddress
|
||||||
*/
|
*/
|
||||||
protected $rowId;
|
protected $rowId;
|
||||||
|
|
||||||
public function __construct(string $cellAddress, ?Worksheet $worksheet)
|
public function __construct(string $cellAddress, ?Worksheet $worksheet = null)
|
||||||
{
|
{
|
||||||
$this->cellAddress = str_replace('$', '', $cellAddress);
|
$this->cellAddress = str_replace('$', '', $cellAddress);
|
||||||
[$this->columnName, $rowId] = Coordinate::coordinateFromString($cellAddress);
|
[$this->columnName, $rowId] = Coordinate::coordinateFromString($cellAddress);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue