Skip to content

Commit 98d40be

Browse files
Merge pull request #1771 from gonpre/bugfix/1770_api_routes_error_laravel_8
Fix php artisan api:routes
2 parents ef9dc3e + d955589 commit 98d40be

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Routing/Router.php

+10
Original file line numberDiff line numberDiff line change
@@ -850,4 +850,14 @@ public function currentRouteUses($action)
850850
{
851851
return $this->currentRouteAction() == $action;
852852
}
853+
854+
/**
855+
* Flush the router's middleware groups.
856+
*
857+
* @return $this
858+
*/
859+
public function flushMiddlewareGroups()
860+
{
861+
return $this;
862+
}
853863
}

0 commit comments

Comments
 (0)