mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 08:41:39 +09:00
Fix #2393 make add() a true alias to set()
This commit is contained in:
parent
3b309b6392
commit
81ae8de155
1 changed files with 1 additions and 2 deletions
|
|
@ -210,8 +210,7 @@ class BaseObject
|
|||
*/
|
||||
public function add($key, $val)
|
||||
{
|
||||
$this->variables[$key] = $val;
|
||||
return $this;
|
||||
return $this->set($key, $val);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue