Skip to content

Commit 001e42c

Browse files
committed
Fix return type
1 parent b835303 commit 001e42c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImageTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ protected function getFitValue(ImageTransform $imageTransform): string
118118
};
119119
}
120120

121-
protected function getFormatValue(ImageTransform $imageTransform): string
121+
protected function getFormatValue(ImageTransform $imageTransform): ?string
122122
{
123123
if ($imageTransform->format === 'jpg' && $imageTransform->interlace === 'none') {
124124
return 'baseline-jpeg';

0 commit comments

Comments
 (0)