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

PHP 8.4 support #209

Closed
mrFANRA opened this issue Nov 22, 2024 · 1 comment · Fixed by #211
Closed

PHP 8.4 support #209

mrFANRA opened this issue Nov 22, 2024 · 1 comment · Fixed by #211

Comments

@mrFANRA
Copy link

mrFANRA commented Nov 22, 2024

Hi!

Here is few deprecation messages.

Deprecated: can_impersonate(): Implicitly marking parameter $guard as nullable is deprecated, the explicit nullable type must be used instead

Deprecated: can_be_impersonated(): Implicitly marking parameter $guard as nullable is deprecated, the explicit nullable type must be used instead

Deprecated: is_impersonating(): Implicitly marking parameter $guard as nullable is deprecated, the explicit nullable type must be used instead

Needs little changes:

function can_impersonate(string $guard = null): bool 
// =>
function can_impersonate(?string $guard = null): bool
@MarceauKa
Copy link
Member

Thank you for this

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

Successfully merging a pull request may close this issue.

2 participants