404labfr / 404labfr/laravel-impersonate

PHP 8.4 Deprecation warnings

Open
#217 1 comment 0 reactions 0 assignees View on GitHub
next version
Dominant language
PHP
Stars
2.3k
Forks
235
PR merge metrics
No merged PRs in 30d

Description

## Feature or problem being solved
Adding explicit nullable to parameters since implicit nullable parameters are deprecated in PHP 8.4

Affected code:

InvalidUserProvider::L09
MissingUserProvider::L09

### Further details
Adding the explicit nullable parameter, gets rid of unnecessary deprecation warnings for php 8.4.

## Links / references
Implicitly nullable values are deprecated in php 8.4.

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.