Closed
Description
Obviously this is pretty new, but with the general release of PHP 8.4.1 today, implicit null parameters now raise warnings. These warnings all say something similar to the following:
PHP Deprecated: Firebase\JWT\JWT::decode(): Implicitly marking parameter $headers as nullable is deprecated, the explicit nullable type must be used instead
This occurs in--at least--the following places:
- src\JWK.php on line 55
- src\JWK.php on line 96
- src\JWT.php on line 96
- src\JWT.php on line 203
- src\JWT.php on line 204
Once Null is added to the type-hints, the library appears to work without issue.
Metadata
Metadata
Assignees
Labels
No labels