From d96fde1f5581b2ff5aa2f6a7e1f98f6670e2eeab Mon Sep 17 00:00:00 2001 From: Isaac Date: Sat, 2 Dec 2017 19:06:25 -0800 Subject: [PATCH] Minor changes --- app/Models/Image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/Image.php b/app/Models/Image.php index ce2875c8..f1feef37 100644 --- a/app/Models/Image.php +++ b/app/Models/Image.php @@ -133,9 +133,9 @@ class Image extends Model * * @param File $image The image file to be processed * @param string $path The path to save the processed image file - * @param int $coverType The type to process the image to + * @param array $coverType The type to process the image to */ - public static function processFile(File $image, string $path, $coverType) { + private static function processFile(File $image, string $path, $coverType) { if ($coverType['id'] === self::ORIGINAL && $image->getMimeType() === self::MIME_JPEG) { $command = 'cp "'.$image->getPathname().'" '.$path; } else {