Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mullema committed Nov 5, 2022
2 parents 8f8dc84 + 1031de4 commit 66e5c21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/GdLib.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class GdLib extends Darkroom\GdLib
{
protected function resize(SimpleImage $image, array $options)
protected function resize(SimpleImage $image, array $options): SimpleImage
{
// clip
if (isset($options['clip'])) {
Expand All @@ -29,4 +29,4 @@ protected function resize(SimpleImage $image, array $options)

return $image->thumbnail($options['width'], $options['height'] ?? $options['width'], $options['crop']);
}
}
}

0 comments on commit 66e5c21

Please sign in to comment.