Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix example to avoid fatal error #590

Merged
merged 1 commit into from
Jan 23, 2025
Merged

Conversation

robocoder
Copy link

With PHP 8.x, the first example b0rks:

PHP Fatal error:  Uncaught Error: Firebase\JWT\JWT::decode(): Argument #3 ($headers) could not be passed by reference in REDACTED.php:26
Stack trace:
#0 {main}
  thrown in REDACTED/test.php on line 26

@bshaffer bshaffer enabled auto-merge (squash) January 23, 2025 04:59
@bshaffer
Copy link
Collaborator

Thanks a lot for catching and fixing this!

@bshaffer bshaffer merged commit d9a140a into firebase:main Jan 23, 2025
8 checks passed
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.

2 participants