Skip to content

Commit 67fa2d5

Browse files
janbarasekdgsolcik
committed
typo (#270)
Co-authored-by: David Grudl <[email protected]> Co-authored-by: David Šolc <[email protected]>
1 parent d85ab53 commit 67fa2d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Application/LinkGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ public function link(string $dest, array $params = []): string
8686
$url = $this->router->constructUrl($params, $this->refUrl);
8787
if ($url === null) {
8888
unset($params[UI\Presenter::ACTION_KEY], $params[UI\Presenter::PRESENTER_KEY]);
89-
$params = urldecode(http_build_query($params, '', ', '));
90-
throw new UI\InvalidLinkException("No route for $dest($params)");
89+
$paramsDecoded = urldecode(http_build_query($params, '', ', '));
90+
throw new UI\InvalidLinkException("No route for $dest($paramsDecoded)");
9191
}
9292
return $url . $frag;
9393
}

0 commit comments

Comments
 (0)