**Symfony version(s) affected**: 5.3.6 **Description** 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 PHPDoc in InputBag for method get() says ```` @return string|int|float|bool|null ```` **Possible Solution** In my assumption it should be save to add array to the return annotation? If so, I'm happy to prepare a pull request.