Quickfix - default Worksheet in CellAddress constructor to null

This commit is contained in:
MarkBaker 2022-04-23 19:01:10 +02:00
parent 10d175e686
commit b6f9868042
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class CellAddress
*/
protected $rowId;
public function __construct(string $cellAddress, ?Worksheet $worksheet)
public function __construct(string $cellAddress, ?Worksheet $worksheet = null)
{
$this->cellAddress = str_replace('$', '', $cellAddress);
[$this->columnName, $rowId] = Coordinate::coordinateFromString($cellAddress);