[9.x] Add support for passing array as the second parameter for the group method. (#40945)
[9.x] Add support for passing array as the second parameter for the group method. (#40945)

* Pass array as the second parameter for group.

* Update Router.php

Co-authored-by: Taylor Otwell <5d74ae093a16a00e5af127763f2dc7e13988f162@laravel.com>
leo108/laravel_framework,morrislaptop/framework,samlev/framework,laravel/framework,dwightwatson/framework,arturock/framework,driesvints/framework,hafezdivandari/framework,driesvints/framework,samlev/framework,leo108/laravel_framework,arturock/framework,lucasmichot/framework,dwightwatson/framework,morrislaptop/framework,lucasmichot/framework,laravel/framework,JamesForks/framework,hafezdivandari/framework,arturock/framework,JamesForks/framework