From fcc8ecfb94394449e1131777debf6cc8c53f5a26 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Sun, 31 Mar 2024 11:07:26 +0100 Subject: [PATCH] Synced readme with actual definitions --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 850fa9d7..25092d75 100644 --- a/README.md +++ b/README.md @@ -498,7 +498,7 @@ a message. ## `GuzzleHttp\Psr7\Utils::readLine` -`public static function readLine(StreamInterface $stream, int $maxLength = null): string` +`public static function readLine(StreamInterface $stream, ?int $maxLength = null): string` Read a line from the stream up to the maximum allowed buffer length. @@ -674,7 +674,7 @@ termed a relative-path reference. ### `GuzzleHttp\Psr7\Uri::isSameDocumentReference` -`public static function isSameDocumentReference(UriInterface $uri, UriInterface $base = null): bool` +`public static function isSameDocumentReference(UriInterface $uri, ?UriInterface $base = null): bool` Whether the URI is a same-document reference. A same-document reference refers to a URI that is, aside from its fragment component, identical to the base URI. When no base URI is given, only an empty URI reference