Skip to content

Commit

Permalink
Removing unneeded variable assignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Sep 23, 2019
1 parent 534fa6d commit 682cd0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Routing/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ public static function url($url = null, bool $full = false): string
public static function routeExists($url = null, bool $full = false): bool
{
try {
$route = static::url($url, $full);
static::url($url, $full);

return true;
} catch (MissingRouteException $e) {
Expand Down

0 comments on commit 682cd0d

Please sign in to comment.