Skip to content

Commit

Permalink
Merge branch 'v3' of github.com:spatie/image into v3
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Aug 28, 2023
2 parents cfae037 + a1190c3 commit f057b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Actions/CalculateFitSizeAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function execute(

$size = new Size($originalWidth, $originalHeight);

return match($fit) {
return match ($fit) {
Fit::Contain => $size->resize($desiredWidth, $desiredHeight, [Constraint::PreserveAspectRatio]),
};
}
Expand Down

0 comments on commit f057b4f

Please sign in to comment.