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); } }