From aa888fab3404ba8544bbcc84ef96b1003979a200 Mon Sep 17 00:00:00 2001 From: Jakub Senko Date: Tue, 27 Dec 2016 22:30:47 +0100 Subject: [PATCH] [ticket/14557] Rename $offset to $subarray PHPBB3-14557 --- phpBB/phpbb/event/data.php | 10 +++++----- 1 file 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; } }