mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-13 06:48:52 +00:00
[ticket/14557] Don't return $value
PHPBB3-14557
This commit is contained in:
parent
60251cd623
commit
1eb451d0d4
1 changed files with 1 additions and 2 deletions
|
@ -70,10 +70,9 @@ class data extends Event implements \ArrayAccess
|
||||||
* @param string $offset Data array offset
|
* @param string $offset Data array offset
|
||||||
* @param string $key Offset key
|
* @param string $key Offset key
|
||||||
* @param mixed $value Value to update
|
* @param mixed $value Value to update
|
||||||
* @return mixed Value of $value
|
|
||||||
*/
|
*/
|
||||||
public function update_subarray($offset, $key, $value)
|
public function update_subarray($offset, $key, $value)
|
||||||
{
|
{
|
||||||
return $this->data[$offset][$key] = $value;
|
$this->data[$offset][$key] = $value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue