Skip to content

Commit aaed181

Browse files
committed
crash phpstan, but do test pass?
1 parent 5546c72 commit aaed181

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/PHPExif/Mapper/ImageMagick.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,9 @@ protected function extractGPSCoordinates(string $coordinates): float|false
278278
if (preg_match($m, $coordinates, $matches) === 0) {
279279
return false;
280280
}
281-
if (!isset($matches[1])) {
282-
return false;
283-
}
281+
// if (!isset($matches[1])) {
282+
// return false;
283+
// }
284284
$degrees = $this->normalizeComponent($matches[1]);
285285
$minutes = $this->normalizeComponent($matches[2] ?? '0');
286286
$seconds = $this->normalizeComponent($matches[3] ?? '0');

0 commit comments

Comments
 (0)