Skip to content

Commit

Permalink
Deprecated method docblock updates.
Browse files Browse the repository at this point in the history
Related to cakephp/docs#4734
Updated the docblocks here to refer to the correct method so that when replacing the deprecated method calls, functionality is preserved.
  • Loading branch information
davidyell committed Feb 20, 2017
1 parent 4b413f7 commit 2a33961
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/ServerRequest.php
Expand Up @@ -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 getQuery() instead.
* @deprecated 3.4.0 This public property will be removed in 4.0.0. Use getQueryParams() instead.
*/
public $query = [];

Expand Down Expand Up @@ -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 getQuery() and withQueryParams() instead.
* @deprecated 3.4.0 Use getQueryParams() and withQueryParams() instead.
*/
public function query($name = null)
{
Expand Down

0 comments on commit 2a33961

Please sign in to comment.