Skip to content

Commit

Permalink
Fix space indenting
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderdlm committed Aug 18, 2023
1 parent 494a42f commit 67b98d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ public function dispatchRequest(ServerRequestInterface $request): ResponseInterf
case FastRoute::FOUND:
$route = $this->ensureHandlerIsRoute($match[1], $method, $uri)->setVars($match[2]);

$request = $request->withAttribute('route', $route);
$request = $request->withAttribute('route', $route);

if ($this->isExtraConditionMatch($route, $request)) {
if ($this->isExtraConditionMatch($route, $request)) {
$this->setFoundMiddleware($route);
$request = $this->requestWithRouteAttributes($request, $route);
break;
Expand Down

0 comments on commit 67b98d3

Please sign in to comment.