diff --git a/src/Models/File.php b/src/Models/File.php index 68bda486..c9e2ffee 100644 --- a/src/Models/File.php +++ b/src/Models/File.php @@ -87,7 +87,7 @@ public function compressImage(string $destination = null, string $source = null, $destination ??= $source; if (empty($source)) { - return false; + return null; } $info = getimagesize($source);