diff --git a/src/Http/ServerRequest.php b/src/Http/ServerRequest.php index e9aa1e6ca3e..7015843c1ab 100644 --- a/src/Http/ServerRequest.php +++ b/src/Http/ServerRequest.php @@ -65,7 +65,7 @@ class ServerRequest implements ArrayAccess, ServerRequestInterface * Array of querystring arguments * * @var array - * @deprecated 3.4.0 This public property will be removed in 4.0.0. Use getQueryParams() instead. + * @deprecated 3.4.0 This public property will be removed in 4.0.0. Use getQuery() or getQueryParams() instead. */ public $query = []; @@ -1396,7 +1396,7 @@ protected function _parseAcceptWithQualifier($header) * * @param string|null $name Query string variable name or null to read all. * @return string|array|null The value being read - * @deprecated 3.4.0 Use getQueryParams() and withQueryParams() instead. + * @deprecated 3.4.0 Use getQuery() or getQueryParams() and withQueryParams() instead. */ public function query($name = null) {