diff --git a/framework/yii/base/Event.php b/framework/yii/base/Event.php index 4ba8c7d..9845c77 100644 --- a/framework/yii/base/Event.php +++ b/framework/yii/base/Event.php @@ -157,7 +157,7 @@ class Event extends Object return; } if ($event === null) { - $event = new self; + $event = new static; } $event->handled = false; $event->name = $name;