You are here

private function Uri::removeDefaultPort in Lockr 7.3

1 call to Uri::removeDefaultPort()
Uri::applyParts in vendor/guzzlehttp/psr7/src/Uri.php
Apply parse_url parts to a URI.

File

vendor/guzzlehttp/psr7/src/Uri.php, line 659

Class

Uri
PSR-7 URI implementation.

Namespace

GuzzleHttp\Psr7

Code

private function removeDefaultPort() {
  if ($this->port !== null && self::isDefaultPort($this)) {
    $this->port = null;
  }
}