Skip to content

Commit

Permalink
Merge pull request #10566 from cakephp/issue-10565
Browse files Browse the repository at this point in the history
Update deprecation suggestions
  • Loading branch information
markstory committed Apr 20, 2017
2 parents 9703818 + 82b9edd commit a6d031e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Http/ServerRequest.php
Expand Up @@ -2124,8 +2124,9 @@ public function offsetGet($name)
* @param string $name Name of the key being written
* @param mixed $value The value being written.
* @return void
* @deprecated 3.4.0 The ArrayAccess methods will be removed in 4.0.0. Use setParam(), setData() and setQuery() instead.
* @deprecated 3.4.0 The ArrayAccess methods will be removed in 4.0.0. Use withParam() or param() instead.
*/

public function offsetSet($name, $value)
{
$this->params[$name] = $value;
Expand All @@ -2136,7 +2137,7 @@ public function offsetSet($name, $value)
*
* @param string $name thing to check.
* @return bool
* @deprecated 3.4.0 The ArrayAccess methods will be removed in 4.0.0. Use getParam(), getData() and getQuery() instead.
* @deprecated 3.4.0 The ArrayAccess methods will be removed in 4.0.0. Use getParam() or param() instead.
*/
public function offsetExists($name)
{
Expand All @@ -2152,7 +2153,7 @@ public function offsetExists($name)
*
* @param string $name Name to unset.
* @return void
* @deprecated 3.4.0 The ArrayAccess methods will be removed in 4.0.0. Use setParam(), setData() and setQuery() instead.
* @deprecated 3.4.0 The ArrayAccess methods will be removed in 4.0.0. Use withParam() or param() instead.
*/
public function offsetUnset($name)
{
Expand Down

0 comments on commit a6d031e

Please sign in to comment.