Skip to content

Commit 188cc82

Browse files
committed
minor phpdoc fixes
1 parent 51ee3db commit 188cc82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/MessageTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ trait MessageTrait
1717
/** @var string */
1818
private $protocol = '1.1';
1919

20-
/** @var StreamInterface */
20+
/** @var StreamInterface|null */
2121
private $stream;
2222

2323
public function getProtocolVersion()

src/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ function hash(
439439
* Read a line from the stream up to the maximum allowed buffer length
440440
*
441441
* @param StreamInterface $stream Stream to read from
442-
* @param int $maxLength Maximum buffer length
442+
* @param int|null $maxLength Maximum buffer length
443443
*
444444
* @return string
445445
*/

0 commit comments

Comments
 (0)