Skip to content

Commit

Permalink
typo (#270)
Browse files Browse the repository at this point in the history
Co-authored-by: David Grudl <[email protected]>
Co-authored-by: David Šolc <[email protected]>
  • Loading branch information
3 people authored Feb 5, 2021
1 parent 28f7840 commit 189891d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Application/LinkGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ public function link(string $dest, array $params = []): string
$url = $this->router->constructUrl($params, $this->refUrl);
if ($url === null) {
unset($params[UI\Presenter::ACTION_KEY], $params[UI\Presenter::PRESENTER_KEY]);
$params = urldecode(http_build_query($params, '', ', '));
throw new UI\InvalidLinkException("No route for $dest($params)");
$paramsDecoded = urldecode(http_build_query($params, '', ', '));
throw new UI\InvalidLinkException("No route for $dest($paramsDecoded)");
}
return $url . $frag;
}
Expand Down

0 comments on commit 189891d

Please sign in to comment.