Skip to content

Commit

Permalink
Fix typo in property name #55 (#56)
Browse files Browse the repository at this point in the history
Fixes #55
  • Loading branch information
SamMousa authored and staabm committed Mar 5, 2018
1 parent 9932388 commit 7127397
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/WildcardEmitterTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,11 @@ function listeners(string $eventName) : array {
\array_multisort($listenersPriority, SORT_NUMERIC, $listeners);

// Creating index
$this->listenersIndex[$eventName] = $listeners;
$this->listenerIndex[$eventName] = $listeners;

}

return $this->listenersIndex[$eventName];
return $this->listenerIndex[$eventName];

}

Expand Down

0 comments on commit 7127397

Please sign in to comment.