aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/event
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2016-12-27 22:30:47 +0100
committerJakub Senko <jakubsenko@gmail.com>2016-12-27 22:30:47 +0100
commitaa888fab3404ba8544bbcc84ef96b1003979a200 (patch)
treec4e1dc6e164707ca84596c94b77d97b30d632ea7 /phpBB/phpbb/event
parent1eb451d0d49af102ef80e5617765f01c07eebeea (diff)
downloadforums-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.php10
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;
}
}