Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'prolic/uri'
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Uri.php
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ public function resolve($baseUri)
if (!$baseUri instanceof static) {
throw new Exception\InvalidUriTypeException(sprintf(
'Provided base URL is not an instance of "%s"',
get_class($this)
get_called_class()
));
}

Expand Down Expand Up @@ -645,7 +645,7 @@ public function setScheme($scheme)
throw new Exception\InvalidUriPartException(sprintf(
'Scheme "%s" is not valid or is not accepted by %s',
$scheme,
get_class($this)
get_called_class()
), Exception\InvalidUriPartException::INVALID_SCHEME);
}

Expand Down Expand Up @@ -692,7 +692,7 @@ public function setHost($host)
throw new Exception\InvalidUriPartException(sprintf(
'Host "%s" is not valid or is not accepted by %s',
$host,
get_class($this)
get_called_class()
), Exception\InvalidUriPartException::INVALID_HOSTNAME);
}

Expand Down

0 comments on commit 7ad284f

Please sign in to comment.