mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-21 02:31:38 +02:00
[ticket/14557] Rename $offset to $subarray
PHPBB3-14557
This commit is contained in:
@ -67,12 +67,12 @@ class data extends Event implements \ArrayAccess
|
|||||||
/**
|
/**
|
||||||
* Returns data with updated key in specified offset.
|
* Returns data with updated key in specified offset.
|
||||||
*
|
*
|
||||||
* @param string $offset Data array offset
|
* @param string $subarray Data array subarray
|
||||||
* @param string $key Offset key
|
* @param string $key Subarray key
|
||||||
* @param mixed $value Value to update
|
* @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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user