Fix #2393 make add() a true alias to set()

This commit is contained in:
Kijin Sung 2024-08-21 19:44:04 +09:00
parent 3b309b6392
commit 81ae8de155

View file

@ -210,8 +210,7 @@ class BaseObject
*/
public function add($key, $val)
{
$this->variables[$key] = $val;
return $this;
return $this->set($key, $val);
}
/**