diff --git a/Classes/Domain/Extractor/ExifExtractor.php b/Classes/Domain/Extractor/ExifExtractor.php index 14df0f7..af47cf7 100644 --- a/Classes/Domain/Extractor/ExifExtractor.php +++ b/Classes/Domain/Extractor/ExifExtractor.php @@ -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'])) {