Skip to content

Commit

Permalink
qa: remove redundant integer cast
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Bösing <[email protected]>
  • Loading branch information
boesing committed Apr 6, 2023
1 parent 36e7e71 commit a2fb57a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServerRequestFilter/FilterUsingXForwardedHeaders.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function __invoke(ServerRequestInterface $request): ServerRequestInterfac
$uri = $uri
->withHost($host);
if ($port !== null) {
$uri = $uri->withPort((int) $port);
$uri = $uri->withPort($port);
}
break;
case self::HEADER_PORT:
Expand Down

0 comments on commit a2fb57a

Please sign in to comment.