Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
christeredvartsen committed Jan 28, 2023
1 parent 5bad851 commit 836784b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/EventListener/ExifMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ protected function filterProperties(array $properties): array

protected function parseProperties(array $rawProperties): array
{
if (isset($rawProperties['exif:GPSLatitude']) &&
isset($rawProperties['exif:GPSLongitude'])) {

if (isset($rawProperties['exif:GPSLatitude']) && isset($rawProperties['exif:GPSLongitude'])) {
// We store coordinates in GeoJSON-format (lng/lat)
$rawProperties['gps:location'] = [
$this->parseGpsCoordinate(
Expand Down

0 comments on commit 836784b

Please sign in to comment.