Skip to content

PHP 8.4: Implicitly nullable parameter declarations deprecated #113

@antoniovj1

Description

@antoniovj1

Hi!

I found a deprecation with PHP 8.4.

https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated

!!  Deprecated: Widmogrod\Functional\map(): Implicitly marking parameter $value as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/widmogrod/php-functional/src/Functional/functions.php on line 171
!!  PHP Deprecated:  Widmogrod\Functional\map(): Implicitly marking parameter $value as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/widmogrod/php-functional/src/Functional/functions.php on line 171
!!  PHP Deprecated:  Widmogrod\Functional\bind(): Implicitly marking parameter $value as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/widmogrod/php-functional/src/Functional/functions.php on line 191

This apply to multiple functions

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions