We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d85713 commit 5310b26Copy full SHA for 5310b26
src/Routing/Adapter/Laravel.php
@@ -119,7 +119,11 @@ protected function mergeOldRoutes($version)
119
*/
120
public function getRouteProperties($route, Request $request)
121
{
122
- return [$route->uri(), $route->methods(), $route->getAction()];
+ if (method_exists($route, 'uri') && method_exists($route, 'methods')) {
123
+ return [$route->uri(), $route->methods(), $route->getAction()];
124
+ }
125
+
126
+ return [$route->getUri(), $route->getMethods(), $route->getAction()];
127
}
128
129
/**
0 commit comments