Skip to content

Commit

Permalink
Restore CellReferenceHelper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
oleibman authored Jan 2, 2024
1 parent c4b934a commit fc56282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpSpreadsheet/CellReferenceHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(string $beforeCellAddress = 'A1', int $numberOfColum
$this->numberOfRows = $numberOfRows;

// Get coordinate of $beforeCellAddress
[$beforeColumn, $beforeRow] = \PhpOffice\PhpSpreadsheet\Cell\Coordinate::coordinateFromString($beforeCellAddress);
[$beforeColumn, $beforeRow] = Coordinate::coordinateFromString($beforeCellAddress);
$this->beforeColumn = Coordinate::columnIndexFromString($beforeColumn);
$this->beforeRow = (int) $beforeRow;
}
Expand Down

0 comments on commit fc56282

Please sign in to comment.