We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10d175e commit b6f9868Copy full SHA for b6f9868
src/PhpSpreadsheet/Cell/CellAddress.php
@@ -32,7 +32,7 @@ class CellAddress
32
*/
33
protected $rowId;
34
35
- public function __construct(string $cellAddress, ?Worksheet $worksheet)
+ public function __construct(string $cellAddress, ?Worksheet $worksheet = null)
36
{
37
$this->cellAddress = str_replace('$', '', $cellAddress);
38
[$this->columnName, $rowId] = Coordinate::coordinateFromString($cellAddress);
0 commit comments