Skip to content

Commit c751039

Browse files
committed
Improve Uri related interface and implementation
1 parent 8492799 commit c751039

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Contracts/UriInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,10 @@
2727
* @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.
2828
* @method string|null getPassword() returns the scheme-specific information about how to gain authorization to access the resource.
2929
* @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.
30-
* @method string toNormalizedString() returns the normalized string representation of the URI
3130
* @method array toComponents() returns an associative array containing all the URI components.
3231
* @method self normalize() returns a new URI instance with normalized components
3332
* @method self resolve(UriInterface $uri) resolves a URI against a base URI using RFC3986 rules
3433
* @method self relativize(UriInterface $uri) relativize a URI against a base URI using RFC3986 rules
35-
* @method bool equals(UriInterface $uri, bool $excludeFragment) tells whether the given URI object represents the same document. It can take the fragment in account if it is explicitly specified
3634
*/
3735
interface UriInterface extends JsonSerializable, Stringable
3836
{

Contracts/UriRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function toDisplayString(): string;
5151
* Returns the string representation as a URI reference.
5252
*
5353
* @see http://tools.ietf.org/html/rfc3986#section-4.1
54-
* @see ::__toString
54+
* @see ::toString
5555
*/
5656
public function jsonSerialize(): string;
5757

0 commit comments

Comments
 (0)