@@ -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 {
@@ -184,7 +184,7 @@ public function getHeaderLine($header)
184184 *
185185 * @param string $header Case-insensitive header field name.
186186 * @param string|string[] $value Header value(s).
187- * @return self
187+ * @return static
188188 * @throws \InvalidArgumentException for invalid header names or values.
189189 */
190190 public function withHeader ($ header , $ value )
@@ -225,7 +225,7 @@ public function withHeader($header, $value)
225225 *
226226 * @param string $header Case-insensitive header field name to add.
227227 * @param string|string[] $value Header value(s).
228- * @return self
228+ * @return static
229229 * @throws \InvalidArgumentException for invalid header names or values.
230230 */
231231 public function withAddedHeader ($ header , $ value )
@@ -265,7 +265,7 @@ public function withAddedHeader($header, $value)
265265 * the named header.
266266 *
267267 * @param string $header Case-insensitive header field name to remove.
268- * @return self
268+ * @return static
269269 */
270270 public function withoutHeader ($ header )
271271 {
@@ -301,7 +301,7 @@ public function getBody()
301301 * new body stream.
302302 *
303303 * @param StreamInterface $body Body.
304- * @return self
304+ * @return static
305305 * @throws \InvalidArgumentException When the body is not valid.
306306 */
307307 public function withBody (StreamInterface $ body )
0 commit comments