Skip to content

Commit ac17808

Browse files
update deprecated references of controllers (#68)
update deprecated references of controllers with a single colon to double colon because of User Deprecated: Since symfony/http-kernel 5.1: Referencing controllers with a single colon is deprecated. Use "json_rpc_http_server.endpoint::httpPost" instead.
1 parent 4871e55 commit ac17808

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Resources/config/routing/endpoint.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
path="%json_rpc_http_server.http_endpoint_path%"
1010
methods="POST"
1111
>
12-
<default key="_controller">json_rpc_http_server.endpoint:httpPost</default>
12+
<default key="_controller">json_rpc_http_server.endpoint::httpPost</default>
1313
</route>
1414
<route
1515
id="json_rpc_http_server_endpoint_options"
1616
path="%json_rpc_http_server.http_endpoint_path%"
1717
methods="OPTIONS"
1818
>
19-
<default key="_controller">json_rpc_http_server.endpoint:httpOptions</default>
19+
<default key="_controller">json_rpc_http_server.endpoint::httpOptions</default>
2020
</route>
2121
</routes>

0 commit comments

Comments
 (0)