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

Commit

Permalink
Merge branch 'hotfix/get-called-class-changes'
Browse files Browse the repository at this point in the history
Close #4236
Close #4237
  • Loading branch information
weierophinney committed Apr 15, 2013
2 parents 9c7168c + ce44f24 commit eda566b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/Zend/EventManager/ProvidesEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ trait ProvidesEvents
*/
public function setEventManager(EventManagerInterface $events)
{
$identifiers = array(__CLASS__, get_called_class());
$identifiers = array(__CLASS__, get_class($this));
if (isset($this->eventIdentifier)) {
if ((is_string($this->eventIdentifier))
|| (is_array($this->eventIdentifier))
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/ModuleManager/ModuleManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public function setEventManager(EventManagerInterface $events)
{
$events->setIdentifiers(array(
__CLASS__,
get_called_class(),
get_class($this),
'module_manager',
));
$this->events = $events;
Expand Down

0 comments on commit eda566b

Please sign in to comment.