Skip to content

Commit

Permalink
Deprecating getComponents and adding BaseUri::isOpaque
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Jul 11, 2024
1 parent c28c29c commit e69029b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function getIdnUriString(): string
return $this->getUriString();
}

$components = $this->uri instanceof UriInterface ? $this->uri->getComponents() : UriString::parse($this->uri);
$components = $this->uri instanceof UriInterface ? $this->uri->toComponents() : UriString::parse($this->uri);
$components['host'] = $host;

return UriString::build($components);
Expand Down

0 comments on commit e69029b

Please sign in to comment.