Skip to content

Commit 220ae1b

Browse files
magicsundaysimonschaufi
authored andcommitted
Fixes: Deprecated in PHP 8.4: Parameter #2 $extension (string) is implicitly nullable via default value null.
1 parent aba97d5 commit 220ae1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/OptimizeImageService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct()
3939
*/
4040
public function process(
4141
string $file,
42-
string $extension = null,
42+
?string $extension = null,
4343
bool $fileIsUploaded = false,
4444
bool $testMode = false
4545
): bool {

0 commit comments

Comments
 (0)