We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51ee3db commit 188cc82Copy full SHA for 188cc82
src/MessageTrait.php
@@ -17,7 +17,7 @@ trait MessageTrait
17
/** @var string */
18
private $protocol = '1.1';
19
20
- /** @var StreamInterface */
+ /** @var StreamInterface|null */
21
private $stream;
22
23
public function getProtocolVersion()
src/functions.php
@@ -439,7 +439,7 @@ function hash(
439
* Read a line from the stream up to the maximum allowed buffer length
440
*
441
* @param StreamInterface $stream Stream to read from
442
- * @param int $maxLength Maximum buffer length
+ * @param int|null $maxLength Maximum buffer length
443
444
* @return string
445
*/
0 commit comments