Skip to content

Commit

Permalink
🐛 fixed request getUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Aug 29, 2021
1 parent 0ca6097 commit 7c6dcda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ public static function getUrl()
{
$url = static::getScheme() . '://' . static::getHost();
if ((static::getScheme() === 'https' && static::getPort() !== 443) || (static::getScheme() === 'http' && static::getPort() !== 80)) {
$url .= ":{static::getPort()}";
$url .= ":" . static::getPort();
}

return $url;
Expand Down

0 comments on commit 7c6dcda

Please sign in to comment.