From 6360522129ccb5050b1ee1749cb2d58f113363e6 Mon Sep 17 00:00:00 2001 From: Julien Turbide Date: Thu, 29 Feb 2024 00:30:16 -0500 Subject: [PATCH] fix typings --- src/Models/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);