Skip to content

Commit

Permalink
fix coordinateIsInsideRange error throwing
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianBatista committed Nov 5, 2023
1 parent 448b0fa commit 3640cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpSpreadsheet/Cell/Coordinate.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public static function coordinateIsInsideRange(string $range, string $coordinate
}

try {
self::coordinateIsRange($coordinate);
self::coordinateFromString($coordinate);
} catch (Throwable $th) {
throw new Exception('Second argument needs to be a single coordinate');
}
Expand Down

0 comments on commit 3640cfa

Please sign in to comment.