Skip to content

Commit

Permalink
Apply Rector changes (CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik authored and github-actions[bot] committed Mar 18, 2024
1 parent b221b1b commit 8e00264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UrlGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function generateAbsolute(
$uri = $this->currentRoute && $this->currentRoute->getUri() !== null ? $this->currentRoute->getUri() : null;
$lastRequestScheme = $uri?->getScheme();

$host = $host ?? $route->getData('host') ?? $this->host ?? null;
$host ??= $route->getData('host') ?? $this->host ?? null;
if ($host !== null) {
$isRelativeHost = $this->isRelative($host);

Expand Down

0 comments on commit 8e00264

Please sign in to comment.