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

Commit

Permalink
Merge branch 'hotfix/4246' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Uri.php
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ public function setScheme($scheme)
throw new Exception\InvalidUriPartException(sprintf(
'Scheme "%s" is not valid or is not accepted by %s',
$scheme,
get_called_class()
get_class($this)
), Exception\InvalidUriPartException::INVALID_SCHEME);
}

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

Expand Down

0 comments on commit e2cfbb1

Please sign in to comment.