diff --git a/laravel/routing/router.php b/laravel/routing/router.php index b62b926d..53da4751 100644 --- a/laravel/routing/router.php +++ b/laravel/routing/router.php @@ -298,9 +298,6 @@ protected static function wildcards($key) $key .= str_repeat(')?', $count); } - // For "regular" parameters, we can just do a simple translate - // using the patterns array. There is not need to cap the - // pattern like we did with optional parameters. return strtr($key, static::$patterns); }