Skip to content

Commit

Permalink
Fix ArrayAccess implemention in Request class.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed May 5, 2016
1 parent c20763b commit 8f150dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Network/Request.php
Expand Up @@ -1347,6 +1347,9 @@ public function offsetSet($name, $value)
*/
public function offsetExists($name)
{
if ($name === 'url' || $name === 'data') {
return true;
}
return isset($this->params[$name]);
}

Expand Down

0 comments on commit 8f150dc

Please sign in to comment.