Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellienert committed Nov 7, 2018
1 parent 9069cd4 commit efbba02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Classes/Domain/Extractor/ExifExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ public function extractMetaData(FlowResource $resource, MetaDataCollection $meta
}
}
}
if (isset($exifData['PhotographicSensitivity']) && is_array($exifData['PhotographicSensitivity'])) {
$exifData['PhotographicSensitivity'] = (int)current($exifData['PhotographicSensitivity']);

if (isset($exifData['PhotographicSensitivity']) && \is_array($exifData['PhotographicSensitivity'])) {
$exifData['PhotographicSensitivity'] = (int)\current($exifData['PhotographicSensitivity']);
}

if (isset($exifData['GPSVersionID'])) {
Expand Down

0 comments on commit efbba02

Please sign in to comment.