Skip to content

Commit

Permalink
Fix cutoff line
Browse files Browse the repository at this point in the history
Signed-off-by: Clint Johnson <[email protected]>
  • Loading branch information
nmbgeek committed Sep 7, 2024
1 parent beb911c commit 2d58fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Listener/ExifMetadataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private function gpsDegreesToDecimal($coordinates, ?string $hemisphere): float {
throw new \Exception('Invalid coordinate format: ' . json_encode($coordinates));
}

[$degrees, $minutes, $seconds] = array_map(fn ($rawDegree) => $this->parseGPSData($rawDegree), $coordin>
[$degrees, $minutes, $seconds] = array_map(fn ($rawDegree) => $this->parseGPSData($rawDegree), $coordinates);

$sign = ($hemisphere === 'W' || $hemisphere === 'S') ? -1 : 1;
return $sign * ($degrees + $minutes / 60 + $seconds / 3600);
Expand Down

0 comments on commit 2d58fba

Please sign in to comment.