diff --git a/laravel/routing/router.php b/laravel/routing/router.php index 7760cbf8..fdb4bc26 100644 --- a/laravel/routing/router.php +++ b/laravel/routing/router.php @@ -234,8 +234,6 @@ class Router { */ protected function wildcards($key) { - $count = 0; - // For optional parameters, first translate the wildcards to their // regex equivalent, sans the ")?" ending. We will add the endings // back on after we know how many replacements we made.