diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2016-12-27 22:30:47 +0100 |
---|---|---|
committer | Jakub Senko <jakubsenko@gmail.com> | 2016-12-27 22:30:47 +0100 |
commit | aa888fab3404ba8544bbcc84ef96b1003979a200 (patch) | |
tree | c4e1dc6e164707ca84596c94b77d97b30d632ea7 /phpBB/phpbb/event | |
parent | 1eb451d0d49af102ef80e5617765f01c07eebeea (diff) | |
download | forums-aa888fab3404ba8544bbcc84ef96b1003979a200.tar forums-aa888fab3404ba8544bbcc84ef96b1003979a200.tar.gz forums-aa888fab3404ba8544bbcc84ef96b1003979a200.tar.bz2 forums-aa888fab3404ba8544bbcc84ef96b1003979a200.tar.xz forums-aa888fab3404ba8544bbcc84ef96b1003979a200.zip |
[ticket/14557] Rename $offset to $subarray
PHPBB3-14557
Diffstat (limited to 'phpBB/phpbb/event')
-rw-r--r-- | phpBB/phpbb/event/data.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/phpbb/event/data.php b/phpBB/phpbb/event/data.php index 00ebbcefdd..276ab027f2 100644 --- a/phpBB/phpbb/event/data.php +++ b/phpBB/phpbb/event/data.php @@ -67,12 +67,12 @@ class data extends Event implements \ArrayAccess /** * 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; } } |