We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
session_set_cookie_params([ 'samesite' => 'Strict', ]); @session_start();
ERROR: InvalidArgument - 3:27 - Argument 1 of session_set_cookie_params expects int, array{samesite: string(Strict)} provided ERROR: UnusedFunctionCall - 3:1 - The call to session_set_cookie_params is not used
ERROR: InvalidArgument - 3:27 - Argument 1 of session_set_cookie_params expects int, array{samesite: string(Strict)} provided
ERROR: UnusedFunctionCall - 3:1 - The call to session_set_cookie_params is not used
https://psalm.dev/r/27cae239cd
Two issues:
session_set_cookie_params
The text was updated successfully, but these errors were encountered:
It looks like the issue has been resolved, should this be closed?
Sorry, something went wrong.
it's not solved for the samesite array option atm, is it?
samesite
#7215
No branches or pull requests
https://psalm.dev/r/27cae239cd
Two issues:
session_set_cookie_params
accepts an array of options. This is already configured this way. Not sure why it isn't working.The "is not used" is also wrong.Solved by Add more impure functions to configuration #2053The text was updated successfully, but these errors were encountered: