Skip to content

Commit 29e0a8a

Browse files
author
MarkBaker
committed
Revert
1 parent 575ff55 commit 29e0a8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpSpreadsheet/Cell/Coordinate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ abstract class Coordinate
3030
public static function coordinateFromString($cellAddress)
3131
{
3232
if (preg_match('/^([$]?[A-Z]{1,3})([$]?\\d{1,7})$/', $cellAddress, $matches)) {
33-
return [$matches[1], (int) $matches[2]];
33+
return [$matches[1], $matches[2]];
3434
} elseif (self::coordinateIsRange($cellAddress)) {
3535
throw new Exception('Cell coordinate string can not be a range of cells');
3636
} elseif ($cellAddress == '') {

0 commit comments

Comments
 (0)