From 682cd0de90f49ff13a4a74777210d9263991343f Mon Sep 17 00:00:00 2001 From: ADmad Date: Mon, 23 Sep 2019 18:54:19 +0530 Subject: [PATCH] Removing unneeded variable assignment. --- src/Routing/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Routing/Router.php b/src/Routing/Router.php index 2aa8fe50f8a..16cdf1fa616 100644 --- a/src/Routing/Router.php +++ b/src/Routing/Router.php @@ -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) {