Commit a1a9460d authored by Mattias Geniar's avatar Mattias Geniar
Browse files

style

parent ebe86d20
......@@ -14,7 +14,7 @@ class QueryParameterBag
$this->parameters = $parameters;
}
public static function fromString(string $query = ''): QueryParameterBag
public static function fromString(string $query = ''): self
{
if ($query === '') {
return new static();
......
......@@ -302,7 +302,7 @@ class Url implements UriInterface
return $url;
}
public function matches(Url $url): bool
public function matches(self $url): bool
{
return $this->__toString() === $url->__toString();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment