Commit 684ee633 by Qiang Xue

removed unneeded check.

parent c7ff329e
...@@ -452,7 +452,7 @@ class Component extends Object ...@@ -452,7 +452,7 @@ class Component extends Object
$event->data = $handler[1]; $event->data = $handler[1];
call_user_func($handler[0], $event); call_user_func($handler[0], $event);
// stop further handling if the event is handled // stop further handling if the event is handled
if ($event instanceof Event && $event->handled) { if ($event->handled) {
return; return;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment