Skip to content

Commit

Permalink
revert strict check on $port
Browse files Browse the repository at this point in the history
  • Loading branch information
m-vo committed Jul 16, 2020
1 parent af4cf5d commit 77e2a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core-bundle/src/Routing/UrlGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private function addHostToContext(RequestContext $context, array $parameters, in
$context->setHost($host);
$referenceType = UrlGeneratorInterface::ABSOLUTE_URL;

if (null === $port) {
if (!$port) {
return;
}

Expand Down

0 comments on commit 77e2a4d

Please sign in to comment.