src/URI.php
public function getAuthority()
	{
		if (!$this->getHost()) {
			return '';
		}

		return substr($this->getUri(self::USERNAME, self::PORT), 2);
	}
public function getAuthority()
	{
		if (!$this->getHost()) {
			return '';
		}

		return substr($this->getUri(self::USERNAME, self::PORT), 2);
	}
{@inheritdoc}