This commit is contained in:
2021-08-31 14:10:21 +08:00
parent be34d78454
commit 1fb9ef08bb
2 changed files with 19 additions and 12 deletions
+2 -12
View File
@@ -35,9 +35,6 @@ class Uri implements UriInterface
private array $_explode = [];
private mixed $authority;
/**
* @return string[]
*/
@@ -65,19 +62,12 @@ class Uri implements UriInterface
/**
* @return mixed
*/
public function getAuthority(): mixed
public function getAuthority(): string
{
return $this->authority;
throw new \BadMethodCallException('');
}
/**
* @param $authority
*/
public function setAuthority($authority)
{
$this->authority = $authority;
}
public function getUserInfo()