src/ExifExtensionReader.php
public function supports($filename)
    {
        try {
            $result = @\exif_imagetype($filename);
        } catch (\Exception $e) {
            return false;
        }

        return $result !== false;
    }
public function supports($filename)
    {
        try {
            $result = @\exif_imagetype($filename);
        } catch (\Exception $e) {
            return false;
        }

        return $result !== false;
    }
{@inheritdoc}