Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark authored and StyleCIBot committed Dec 29, 2021
1 parent e71bbfe commit 5721bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Middleware/LocaleMiddleware.php
Expand Up @@ -90,7 +90,7 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface
}
if ($locale === null || $this->isDefaultLocale($locale, $country)) {
$this->urlGenerator->setDefaultArgument($this->queryParameterName, $this->defaultLocale);
$request = $request->withUri($uri->withPath('/' .$this->defaultLocale . $path));
$request = $request->withUri($uri->withPath('/' . $this->defaultLocale . $path));
return $handler->handle($request);
}
$this->urlGenerator->setDefaultArgument($this->queryParameterName, $locale);
Expand Down

0 comments on commit 5721bcc

Please sign in to comment.