Skip to content

Commit

Permalink
fix typings
Browse files Browse the repository at this point in the history
  • Loading branch information
jturbide committed Feb 29, 2024
1 parent 08ed67b commit 6360522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6360522

Please sign in to comment.