Skip to content

Commit

Permalink
Fix CS error.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Dec 16, 2017
1 parent 10161bb commit 35a2436
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Event/EventManager.php
Expand Up @@ -576,7 +576,8 @@ public function __debugInfo()
$properties['_listeners'][$key] = $listenerCount . ' listener(s)';
}
if ($this->_eventList) {
for ($i = 0; $i < count($this->_eventList); $i++) {
$count = count($this->_eventList);
for ($i = 0; $i < $count; $i++) {
$event = $this->_eventList[$i];
$properties['_dispatchedEvents'][] = $event->getName() . ' with subject ' . get_class($event->getSubject());
}
Expand Down

0 comments on commit 35a2436

Please sign in to comment.