Skip to content

Commit

Permalink
Merge 0dde5fa into 0dca983
Browse files Browse the repository at this point in the history
  • Loading branch information
Stilch committed May 9, 2021
2 parents 0dca983 + 0dde5fa commit 2383a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uri.php
Expand Up @@ -149,7 +149,7 @@ protected function filterScheme($scheme): string
}

$scheme = str_replace('://', '', strtolower($scheme));
if (!key_exists($scheme, self::SUPPORTED_SCHEMES)) {
if (!key_exists($scheme, static::SUPPORTED_SCHEMES)) {
throw new InvalidArgumentException(
'Uri scheme must be one of: "' . implode('", "', array_keys(static::SUPPORTED_SCHEMES)) . '"'
);
Expand Down

0 comments on commit 2383a20

Please sign in to comment.