This commit is contained in:
2021-03-30 11:41:38 +08:00
parent 0156b68f8e
commit 693b7312ce
+1 -1
View File
@@ -70,7 +70,7 @@ class Event extends BaseObject
* @param bool $isAppend
* @throws Exception
*/
public function on($name, $callback, $parameter = [], $isAppend = true)
public function on($name, $callback, $parameter = [], $isAppend = false)
{
if (!isset($this->_events[$name])) {
$this->_events[$name] = [];