Skip to content

Commit

Permalink
Adding missing PHP Uri interface methods
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Dec 25, 2024
1 parent ab996be commit 8e89bc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Contracts/UriInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
*
* @method string|null getUsername() returns the user component of the URI (deprecated).
* @method string|null getUser() returns the user component of the URI.
* @method self withUser(?string $user) returns a new URI instance with user component updated, if the user is set to null the password also will be set to null.
* @method string|null getPassword() returns the scheme-specific information about how to gain authorization to access the resource.
* @method self withPassword(?string $password) returns a new URI instance with password component updated, if the user is set to null the password also will be set to null.
* @method string toNormalizedString() returns the normalized string representation of the URI
* @method array toComponents() returns an associative array containing all the URI components.
* @method self normalize() returns a new URI instance with normalized components
Expand Down

0 comments on commit 8e89bc5

Please sign in to comment.