Skip to content

Commit

Permalink
Update events.rst
Browse files Browse the repository at this point in the history
minor typo
  • Loading branch information
kevinquinnyo committed Feb 19, 2015
1 parent d514de2 commit a6e8600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/core-libraries/events.rst
Expand Up @@ -456,7 +456,7 @@ params you used for attaching it::
$this->getEventManager()->detach($myFunction, 'My.event');

// Attaching a CakeEventListener
$listener = new MyEventLister();
$listener = new MyEventListener();
$this->getEventManager()->attach($listener);

// Detaching a single event key from a listener
Expand Down

0 comments on commit a6e8600

Please sign in to comment.