Skip to content

Commit 6967c07

Browse files
committed
[Routing] Throw exception for non-array _query parameter
1 parent 9084ab6 commit 6967c07

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

routing.rst

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,16 +1147,7 @@ special parameters created by Symfony:
11471147
Used to set the :ref:`locale <translation-locale-url>` on the request.
11481148

11491149
``_query``
1150-
Used to add query parameters to the generated URL.
1151-
1152-
.. versionadded:: 7.4
1153-
1154-
The ``_query`` parameter was introduced in Symfony 7.4.
1155-
1156-
.. deprecated:: 7.4
1157-
1158-
Passing a value other than an array as the ``_query`` parameter was
1159-
deprecated in Symfony 7.4.
1150+
An array of query parameters to add to the generated URL.
11601151

11611152
You can include these attributes (except ``_fragment``) both in individual routes
11621153
and in route imports. Symfony defines some special attributes with the same name

0 commit comments

Comments
 (0)