Skip to content

Commit 2e8ee11

Browse files
vlastaveselydg
authored andcommitted
Presenter: fixed type of in throwing InvalidLinkException (#177)
1 parent af754ba commit 2e8ee11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Application/UI/Presenter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ protected function createRequest(Component $component, string $destination, arra
784784
try {
785785
$presenterClass = $this->presenterFactory->getPresenterClass($presenter);
786786
} catch (Application\InvalidPresenterException $e) {
787-
throw new InvalidLinkException($e->getMessage(), NULL, $e);
787+
throw new InvalidLinkException($e->getMessage(), 0, $e);
788788
}
789789
}
790790

0 commit comments

Comments
 (0)