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 21:39:46 +03:00
parent 8001103124
commit 8f004c7517

View File

@@ -108,7 +108,7 @@ class MediaFiles
try {
// Get the width and height from the uploaded image
[$width, $height] = getimagesize($file['tmp_name']);
} catch (ErrorException $e) {
} catch (\ErrorException $e) {
// Ignore read errors
}