改名
This commit is contained in:
+1
-1
@@ -193,7 +193,7 @@ class Event extends BaseObject
|
||||
{
|
||||
try {
|
||||
if (!$this->exists($name)) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
if (!empty($handler) && $this->exists($name, $handler)) {
|
||||
$events = [$this->get($name, $handler)];
|
||||
|
||||
Reference in New Issue
Block a user