Skip to content

Commit a8d5d07

Browse files
committed
strict types fixes
1 parent dac2ea6 commit a8d5d07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Application/LinkGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function link(string $dest, array $params = []): string
5252
try {
5353
$class = $this->presenterFactory ? $this->presenterFactory->getPresenterClass($presenter) : NULL;
5454
} catch (InvalidPresenterException $e) {
55-
throw new UI\InvalidLinkException($e->getMessage(), NULL, $e);
55+
throw new UI\InvalidLinkException($e->getMessage(), 0, $e);
5656
}
5757

5858
if (is_subclass_of($class, UI\Presenter::class)) {

0 commit comments

Comments
 (0)