Skip to content

Commit

Permalink
[ticket/14557] Rename $offset to $subarray
Browse files Browse the repository at this point in the history
PHPBB3-14557
  • Loading branch information
senky committed Dec 27, 2016
1 parent 1eb451d commit aa888fa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions phpBB/phpbb/event/data.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ public function offsetUnset($offset)
/**
* Returns data with updated key in specified offset.
*
* @param string $offset Data array offset
* @param string $key Offset key
* @param mixed $value Value to update
* @param string $subarray Data array subarray
* @param string $key Subarray key
* @param mixed $value Value to update
*/
public function update_subarray($offset, $key, $value)
public function update_subarray($subarray, $key, $value)
{
$this->data[$offset][$key] = $value;
$this->data[$subarray][$key] = $value;
}
}

0 comments on commit aa888fa

Please sign in to comment.