@@ -31,7 +31,7 @@ public function getBody();
3131 *
3232 * @param StreamInterface|null $body Body.
3333 *
34- * @return self Returns the message.
34+ * @return void
3535 */
3636 public function setBody (StreamInterface $ body = null );
3737
@@ -93,7 +93,7 @@ public function getHeaderAsArray($header);
9393 * @param string $header Header name
9494 * @param string|array $value Header value(s)
9595 *
96- * @return self Returns the message.
96+ * @return void
9797 */
9898 public function setHeader ($ header , $ value );
9999
@@ -106,7 +106,7 @@ public function setHeader($header, $value);
106106 *
107107 * @param array $headers Headers to set.
108108 *
109- * @return self Returns the message.
109+ * @return void
110110 */
111111 public function setHeaders (array $ headers );
112112
@@ -117,7 +117,7 @@ public function setHeaders(array $headers);
117117 * @param string $header Header name to add
118118 * @param string $value Value of the header
119119 *
120- * @return self
120+ * @return void
121121 */
122122 public function addHeader ($ header , $ value );
123123
@@ -132,7 +132,7 @@ public function addHeader($header, $value);
132132 *
133133 * @param array $headers Associative array of headers to add to the message
134134 *
135- * @return self
135+ * @return void
136136 */
137137 public function addHeaders (array $ headers );
138138
@@ -141,7 +141,7 @@ public function addHeaders(array $headers);
141141 *
142142 * @param string $header HTTP header to remove
143143 *
144- * @return self
144+ * @return void
145145 */
146146 public function removeHeader ($ header );
147147}
0 commit comments