Skip to content

Commit

Permalink
Pointing deprecated properties to non-deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
antograssiot committed Dec 31, 2016
1 parent fdcf1eb commit 5dd916e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Http/ServerRequest.php
Expand Up @@ -41,7 +41,7 @@ class ServerRequest implements ArrayAccess, ServerRequestInterface
* Array of parameters parsed from the URL.
*
* @var array
* @deprecated 3.4.0 This public property will be removed in 4.0.0. Use param() instead.
* @deprecated 3.4.0 This public property will be removed in 4.0.0. Use getParam() instead.
*/
public $params = [
'plugin' => null,
Expand All @@ -57,23 +57,23 @@ class ServerRequest implements ArrayAccess, ServerRequestInterface
* data.
*
* @var array
* @deprecated 3.4.0 This public property will be removed in 4.0.0. Use data() instead.
* @deprecated 3.4.0 This public property will be removed in 4.0.0. Use getData() instead.
*/
public $data = [];

/**
* Array of querystring arguments
*
* @var array
* @deprecated 3.4.0 This public property will be removed in 4.0.0. Use query() instead.
* @deprecated 3.4.0 This public property will be removed in 4.0.0. Use getQuery() instead.
*/
public $query = [];

/**
* Array of cookie data.
*
* @var array
* @deprecated 3.4.0 This public property will be removed in 4.0.0. Use cookie() instead.
* @deprecated 3.4.0 This public property will be removed in 4.0.0. Use getCookie() instead.
*/
public $cookies = [];

Expand Down Expand Up @@ -607,7 +607,7 @@ public function __call($name, $params)
* @param string $name The property being accessed.
* @return mixed Either the value of the parameter or null.
* @deprecated 3.4.0 Accessing routing parameters through __get will removed in 4.0.0.
* Use param() instead.
* Use getParam() instead.
*/
public function __get($name)
{
Expand Down

0 comments on commit 5dd916e

Please sign in to comment.