From a1190c32f6cce328d97384c6f5ea2f8668987665 Mon Sep 17 00:00:00 2001 From: freekmurze Date: Mon, 28 Aug 2023 15:44:03 +0000 Subject: [PATCH] Fix styling --- src/Actions/CalculateFitSizeAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Actions/CalculateFitSizeAction.php b/src/Actions/CalculateFitSizeAction.php index d2098bb3..357acd9a 100644 --- a/src/Actions/CalculateFitSizeAction.php +++ b/src/Actions/CalculateFitSizeAction.php @@ -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]), }; }