Skip to content

Commit a69c876

Browse files
committed
docs: update outdated description for HTTP method names
1 parent e84a189 commit a69c876

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

user_guide_src/source/incoming/filters.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,15 +186,15 @@ $methods
186186
because :ref:`auto-routing-legacy` permits any HTTP method to access a controller.
187187
Accessing the controller with a method you don't expect could bypass the filter.
188188

189-
You can apply filters to all requests of a certain HTTP method, like POST, GET, PUT, etc. In this array, you would
190-
specify the method name in **lowercase**. It's value would be an array of filters to run:
189+
You can apply filters to all requests of a certain HTTP method, like ``POST``, ``GET``, ``PUT``, etc.
190+
It's value would be an array of filters to run:
191191

192192
.. literalinclude:: filters/008.php
193193

194194
.. note:: Unlike the ``$globals`` or the
195195
``$filters`` properties, these will only run as before filters.
196196

197-
In addition to the standard HTTP methods, this also supports one special case: ``cli``. The ``cli`` method would apply to
197+
In addition to the standard HTTP methods, this also supports one special case: ``CLI``. The ``CLI`` method would apply to
198198
all requests that were run from the command line.
199199

200200
$filters

0 commit comments

Comments
 (0)