Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'prolic/getclass-fixes'
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanDotPro committed May 27, 2012
3 parents 3895f9f + 00380d2 + 72ee023 commit 4b4dffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ProvidesEvents.php
Expand Up @@ -45,7 +45,7 @@ trait ProvidesEvents
*/
public function setEventManager(EventManagerInterface $events)
{
$identifiers = array(__CLASS__, get_class($this));
$identifiers = array(__CLASS__, get_called_class());
if (isset($this->eventIdentifier)) {
if ((is_string($this->eventIdentifier))
|| (is_array($this->eventIdentifier))
Expand Down

0 comments on commit 4b4dffb

Please sign in to comment.