Method call is provided 2 parameters, but the method signature uses 1 parameters
AccessManager.php
$route = $this->routeProvider->getRouteByName($route_name, $parameters);
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | interdiff-3102980-4-6.txt | 833 bytes | nathaniel |
| #6 | accessmanager_getroutebyname-3102980-6.patch | 2.39 KB | nathaniel |
Comments
Comment #2
nathaniel commentedComment #4
hardik_patel_12 commentedKindly review a new patch
Comment #6
nathaniel commentedComment #7
hardik_patel_12 commentedThank you @Nathaniel. Above patch works fine.
Comment #8
hardik_patel_12 commentedComment #11
catchThe documentation is actually wrong for that method, opened #3110104: Incorrect documentation for RouteProvider::getRouteByName().
Committed a7f702a and pushed to 9.0.x and 8.9.x. Thanks!