From 94eef596e50a82d894066c4bae11cf6288a881a3 Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 3 Aug 2020 08:09:00 +0300 Subject: [PATCH] refactor(media-files): remove unused return for method upload() --- src/flextype/app/Foundation/Media/MediaFiles.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/flextype/app/Foundation/Media/MediaFiles.php b/src/flextype/app/Foundation/Media/MediaFiles.php index 799472f6..bc193916 100644 --- a/src/flextype/app/Foundation/Media/MediaFiles.php +++ b/src/flextype/app/Foundation/Media/MediaFiles.php @@ -142,8 +142,6 @@ class MediaFiles // Check if size is within maximum dimensions return $width <= $max_image_width and $height <= $max_image_height; } - - return false; } if (validateImage($file, $max_image_width, $max_image_height, $exact) === false) {