Browse Source

Typo [skip ci]

tags/2.0.0-beta
Luciano Baraglia 11 years ago
parent
commit
2880fb2899
  1. 2
      framework/yii/base/Event.php

2
framework/yii/base/Event.php

@ -58,7 +58,7 @@ class Event extends Object
* `afterInsert` event: * `afterInsert` event:
* *
* ~~~ * ~~~
* Event::on([ActiveRecord::className, ActiveRecord::EVENT_AFTER_INSERT], function ($event) { * Event::on([ActiveRecord::className(), ActiveRecord::EVENT_AFTER_INSERT], function ($event) {
* Yii::trace(get_class($event->sender) . ' is inserted.'); * Yii::trace(get_class($event->sender) . ' is inserted.');
* }); * });
* ~~~ * ~~~

Loading…
Cancel
Save