diff --git a/src/Http/Stream.php b/src/Http/Stream.php index 797be07..f855b44 100644 --- a/src/Http/Stream.php +++ b/src/Http/Stream.php @@ -209,9 +209,9 @@ public function isWritable() } /** - * Read data from the stream. + * Reads data from the stream. * - * @param int<0, max> $length + * @param int<1, max> $length * * @return string * @throws \RuntimeException @@ -236,7 +236,7 @@ public function read($length) } /** - * Seek to the beginning of the stream. + * Seeks to the beginning of the stream. * * @return void * @throws \RuntimeException @@ -247,7 +247,7 @@ public function rewind() } /** - * Seek to a position in the stream. + * Seeks to a position in the stream. * * @param integer $offset * @param integer $whence @@ -292,7 +292,7 @@ public function tell() } /** - * Write data to the stream. + * Writes data to the stream. * * @param string $string *