Skip to content

Commit

Permalink
Port PHP7 fixes to 2.x
Browse files Browse the repository at this point in the history
Port the fixes @ADmad did in 8f150dc to 2.x so those builds start to
pass once again.
  • Loading branch information
markstory committed May 8, 2016
1 parent 2bcf787 commit 39b4cbe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Cake/Network/CakeRequest.php
Expand Up @@ -1124,6 +1124,9 @@ public function offsetSet($name, $value) {
* @return bool
*/
public function offsetExists($name) {
if ($name === 'url' || $name === 'data') {
return true;
}
return isset($this->params[$name]);
}

Expand Down

0 comments on commit 39b4cbe

Please sign in to comment.