diff --git a/src/DI/PresenterBridge.php b/src/DI/PresenterBridge.php index 01928cb..9092f05 100644 --- a/src/DI/PresenterBridge.php +++ b/src/DI/PresenterBridge.php @@ -38,7 +38,7 @@ public function __construct( } - public function onPresenter(Nette\Application\Application $application, Nette\Application\UI\Presenter $presenter) + public function onPresenter(Nette\Application\Application $application, Nette\Application\IPresenter $presenter) { $success = FALSE; foreach ($this->allowedTypes as $allowedType) {