Skip to content

[FIX] Fix nullable name parameter in CompressImagesCommand to avoid PHP deprecation warnings#95

Open
konradmichalik wants to merge 1 commit intoschmitzal:mainfrom
konradmichalik:php-deprecation
Open

[FIX] Fix nullable name parameter in CompressImagesCommand to avoid PHP deprecation warnings#95
konradmichalik wants to merge 1 commit intoschmitzal:mainfrom
konradmichalik:php-deprecation

Conversation

@konradmichalik
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments