Skip to content

Commit b6f9868

Browse files
author
MarkBaker
committed
Quickfix - default Worksheet in CellAddress constructor to null
1 parent 10d175e commit b6f9868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpSpreadsheet/Cell/CellAddress.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class CellAddress
3232
*/
3333
protected $rowId;
3434

35-
public function __construct(string $cellAddress, ?Worksheet $worksheet)
35+
public function __construct(string $cellAddress, ?Worksheet $worksheet = null)
3636
{
3737
$this->cellAddress = str_replace('$', '', $cellAddress);
3838
[$this->columnName, $rowId] = Coordinate::coordinateFromString($cellAddress);

0 commit comments

Comments
 (0)