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:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user