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

Update ProvidesEvents.php #4236

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion library/Zend/EventManager/ProvidesEvents.php
Expand Up @@ -29,7 +29,7 @@ trait ProvidesEvents
*/ */
public function setEventManager(EventManagerInterface $events) public function setEventManager(EventManagerInterface $events)
{ {
$identifiers = array(__CLASS__, get_called_class()); $identifiers = array(__CLASS__, get_class($this));
if (isset($this->eventIdentifier)) { if (isset($this->eventIdentifier)) {
if ((is_string($this->eventIdentifier)) if ((is_string($this->eventIdentifier))
|| (is_array($this->eventIdentifier)) || (is_array($this->eventIdentifier))
Expand Down