Skip to content

Commit

Permalink
Fixed coding standard issues
Browse files Browse the repository at this point in the history
  • Loading branch information
divineniiquaye committed May 29, 2022
1 parent 667b834 commit 7ca3736
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Generator/GeneratedUri.php
Expand Up @@ -139,7 +139,6 @@ public function withQuery(array $queryParams = []): self
if (!empty($queryString)) {
$this->pathInfo .= '?' . \strtr($queryString, self::QUERY_DECODED);
}

}

return $this;
Expand Down
6 changes: 4 additions & 2 deletions src/Handlers/RouteHandler.php
Expand Up @@ -65,8 +65,10 @@ public function handle(ServerRequestInterface $request): ResponseInterface

if (!$notFoundResponse instanceof ResponseInterface) {
throw new RouteNotFoundException(
\sprintf('Unable to find the controller for path "%s". The route is wrongly configured.',
$request->getUri()->getPath()),
\sprintf(
'Unable to find the controller for path "%s". The route is wrongly configured.',
$request->getUri()->getPath()
),
404
);
}
Expand Down

0 comments on commit 7ca3736

Please sign in to comment.