@@ -66,7 +66,7 @@ public function getProtocolVersion()
6666 * new protocol version.
6767 *
6868 * @param string $version HTTP protocol version
69- * @return self
69+ * @return static
7070 */
7171 public function withProtocolVersion ($ version )
7272 {
@@ -183,7 +183,7 @@ public function getHeaderLine($name)
183183 *
184184 * @param string $header Case-insensitive header field name.
185185 * @param string|string[] $value Header value(s).
186- * @return self
186+ * @return static
187187 * @throws \InvalidArgumentException for invalid header names or values.
188188 */
189189 public function withHeader ($ header , $ value )
@@ -224,7 +224,7 @@ public function withHeader($header, $value)
224224 *
225225 * @param string $header Case-insensitive header field name to add.
226226 * @param string|string[] $value Header value(s).
227- * @return self
227+ * @return static
228228 * @throws \InvalidArgumentException for invalid header names or values.
229229 */
230230 public function withAddedHeader ($ header , $ value )
@@ -264,7 +264,7 @@ public function withAddedHeader($header, $value)
264264 * the named header.
265265 *
266266 * @param string $header Case-insensitive header field name to remove.
267- * @return self
267+ * @return static
268268 */
269269 public function withoutHeader ($ header )
270270 {
@@ -300,7 +300,7 @@ public function getBody()
300300 * new body stream.
301301 *
302302 * @param StreamInterface $body Body.
303- * @return self
303+ * @return static
304304 * @throws \InvalidArgumentException When the body is not valid.
305305 */
306306 public function withBody (StreamInterface $ body )
0 commit comments