From 81a6d809020ab068a875cefcbba05f26911174ee Mon Sep 17 00:00:00 2001 From: Chris Pierce Date: Tue, 25 Apr 2017 20:12:32 -0500 Subject: [PATCH] Update changed method references still to `query()` and it should be `getQuery()` --- en/controllers/request-response.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/controllers/request-response.rst b/en/controllers/request-response.rst index a15851aa64..05df286397 100644 --- a/en/controllers/request-response.rst +++ b/en/controllers/request-response.rst @@ -80,7 +80,7 @@ Query string parameters can be read using the ``getQuery()`` method:: $page = $this->request->query('page'); You can either directly access the query property, or you can use -``query()`` method to read the URL query array in an error-free manner. +``getQuery()`` method to read the URL query array in an error-free manner. Any keys that do not exist will return ``null``:: $foo = $this->request->getQuery('value_that_does_not_exist');