Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
odan committed Nov 14, 2024
1 parent 97da968 commit 103d12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Slim/Middleware/RoutingMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function __construct(Router $router, UrlGenerator $urlGenerator)
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
// Dispatch
$dispatcher = new GroupCountBased($this->router->getRouteCollector()->processedRoutes());
$dispatcher = new GroupCountBased($this->router->getRouteCollector()->getData());

$httpMethod = $request->getMethod();
$uri = $request->getUri()->getPath();
Expand Down

0 comments on commit 103d12c

Please sign in to comment.