1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 14:16:46 +02:00

refactor(media-files): update code according to coding doctrine coding standard

This commit is contained in:
Awilum
2020-09-08 22:06:31 +03:00
parent 8f004c7517
commit 5ed7c22d25

View File

@@ -14,7 +14,7 @@ use Intervention\Image\ImageManagerStatic as Image;
use RuntimeException;
use Slim\Http\Environment;
use Slim\Http\Uri;
use Throwable;
use function basename;
use function chmod;
@@ -201,7 +201,7 @@ class MediaFiles
foreach ($headers['COMPUTED'] as $header => $value) {
$exif_data[$header] = $value;
}
} catch (Throwable $e) {
} catch (RuntimeException $e) {
// catch... @todo
}
}