tinyimg
tinyimg copied to clipboard
[FIX] Fix nullable name parameter in CompressImagesCommand to avoid PHP deprecation warnings
With PHP 8.4 we're getting the following deprecation warning:
PHP Deprecated: Schmitzal\Tinyimg\Command\CompressImagesCommand::__construct(): Implicitly marking parameter $name as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/schmitzal/tinyimg/Classes/Command/CompressImagesCommand.php on line 39
This PR fixes this issue.