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
According to the documentation here: https://symfony.com/doc/current/components/http_foundation.html#accessing-request-data
// the query string is '?foo[bar]=baz' $request->query->get('foo'); // returns ['bar' => 'baz']
$request->query->get() can return arrays, but since pull request 34363 arrays are no more supported.
I would like to replace the line
$request->query->get('foo');
with
$request->query->all()['foo'];
to hint how arrays can be accessed. If it's ok, i can prepare a pull request.
The text was updated successfully, but these errors were encountered:
Thomas, thanks for reporting this problem! We've prepared in #15847 a PR to fix it. Please, review if the proposed changes look OK to you. Thanks!
Sorry, something went wrong.
Hi Javier, thanks, looks totally fine to me.
22f0140
No branches or pull requests
According to the documentation here:
https://symfony.com/doc/current/components/http_foundation.html#accessing-request-data
$request->query->get() can return arrays, but since pull request 34363 arrays are no more supported.
I would like to replace the line
with
to hint how arrays can be accessed.
If it's ok, i can prepare a pull request.
The text was updated successfully, but these errors were encountered: