Skip to content

Commit

Permalink
Simplify URI codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Dec 27, 2024
1 parent 3afa099 commit c367cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Uri.php
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,7 @@ public function equals(UriInterface|Stringable|string $uri, bool $excludeFragmen
*/
public function normalize(): UriInterface
{
return self::fromComponents(UriString::normalize($this->toString()));
return self::fromComponents(UriString::parseAndNormalize($this->toString()));
}

/**
Expand Down

0 comments on commit c367cc2

Please sign in to comment.