Commit 94805cae by resurtm

Merge pull request #1101 from lucianobaraglia/master

Typo [skip ci]
parents 8b00693a 2880fb28
......@@ -58,7 +58,7 @@ class Event extends Object
* `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.');
* });
* ~~~
......
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