Kdyby / Events

Events for Nette Framework
https://packagist.org/packages/kdyby/events
Other
58 stars 60 forks source link

Nette 2.4 error #123

Closed spernica closed 5 years ago

spernica commented 5 years ago

Version for Nette 2.4 has got an error "Maximum function nesting level of x reached"

There is a missing fix in this file https://github.com/Kdyby/Events/blob/v2.4/src/Kdyby/Events/SymfonyDispatcher.php

public function getListeners($eventName = null) { return $this->getListeners($eventName); }

must be public function getListeners($eventName = null) { return $this->evm->getListeners($eventName); }