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

Commit

Permalink
Merge pull request zendframework/zendframework#4246 from prolic/get_c…
Browse files Browse the repository at this point in the history
…lass_fix

replaced get_called_class() with get_class($this) in non-static context
  • Loading branch information
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storage/Adapter/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public function getCaching()
public function getEventManager()
{
if ($this->events === null) {
$this->events = new EventManager(array(__CLASS__, get_called_class()));
$this->events = new EventManager(array(__CLASS__, get_class($this)));
}
return $this->events;
}
Expand Down

0 comments on commit fee3848

Please sign in to comment.