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 575ff55 commit 29e0a8aCopy full SHA for 29e0a8a
src/PhpSpreadsheet/Cell/Coordinate.php
@@ -30,7 +30,7 @@ abstract class Coordinate
30
public static function coordinateFromString($cellAddress)
31
{
32
if (preg_match('/^([$]?[A-Z]{1,3})([$]?\\d{1,7})$/', $cellAddress, $matches)) {
33
- return [$matches[1], (int) $matches[2]];
+ return [$matches[1], $matches[2]];
34
} elseif (self::coordinateIsRange($cellAddress)) {
35
throw new Exception('Cell coordinate string can not be a range of cells');
36
} elseif ($cellAddress == '') {
0 commit comments