Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vasiliishvakin committed Aug 3, 2017
1 parent 332b43f commit 83a1061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Router.php
Expand Up @@ -366,7 +366,7 @@ public function getUrl($id, array $params = [])
{
$routes = $this->getRoutes();
if (!isset($routes[$id])) {
throw new \InvalidArgumentException("Not found router with id $id");
throw new \InvalidArgumentException(sprintf('Not found route with id "%s"', $id));
}
$route = $routes[$id];

Expand Down

0 comments on commit 83a1061

Please sign in to comment.