Skip to content
Permalink
Browse files

Update deprecation suggestions

  • Loading branch information...
saeideng committed Jul 31, 2017
1 parent 47d1d27 commit 41ee62533d61f1727b8b95c0a7528b867410c509
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/Http/ServerRequest.php
@@ -626,7 +626,7 @@ public function __get($name)
* @param string $name The property being accessed.
* @return bool Existence
* @deprecated 3.4.0 Accessing routing parameters through __isset will removed in 4.0.0.
* Use param() instead.
* Use getParam() instead.
*/
public function __isset($name)
{
@@ -883,7 +883,7 @@ public static function addDetector($name, $callable)
/**
* Add parameters to the request's parsed parameter set. This will overwrite any existing parameters.
* This modifies the parameters available through `$request->params`.
* This modifies the parameters available through `$request->getParam()`.
*
* @param array $params Array of parameters to merge in
* @return $this The current object, you can chain this method.
@@ -2124,7 +2124,7 @@ 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 withParam() or param() instead.
* @deprecated 3.4.0 The ArrayAccess methods will be removed in 4.0.0. Use withParam() instead.
*/
public function offsetSet($name, $value)
{
@@ -2136,7 +2136,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() or param() instead.
* @deprecated 3.4.0 The ArrayAccess methods will be removed in 4.0.0. Use getParam() instead.
*/
public function offsetExists($name)
{
@@ -2152,7 +2152,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 withParam() or param() instead.
* @deprecated 3.4.0 The ArrayAccess methods will be removed in 4.0.0. Use withParam() instead.
*/
public function offsetUnset($name)
{

0 comments on commit 41ee625

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.