From 8b37bf885aa7c55bd1c25ba1b227ece4ed8feb01 Mon Sep 17 00:00:00 2001 From: vlastavesely Date: Fri, 3 Mar 2017 15:38:01 +0100 Subject: [PATCH] Presenter: fixed type of in throwing InvalidLinkException --- src/Application/UI/Presenter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Application/UI/Presenter.php b/src/Application/UI/Presenter.php index f7098f507..22dc09542 100644 --- a/src/Application/UI/Presenter.php +++ b/src/Application/UI/Presenter.php @@ -784,7 +784,7 @@ protected function createRequest(Component $component, string $destination, arra try { $presenterClass = $this->presenterFactory->getPresenterClass($presenter); } catch (Application\InvalidPresenterException $e) { - throw new InvalidLinkException($e->getMessage(), NULL, $e); + throw new InvalidLinkException($e->getMessage(), 0, $e); } }