@@ -31,7 +31,7 @@ public function getBody();
31
31
*
32
32
* @param StreamInterface|null $body Body.
33
33
*
34
- * @return self Returns the message.
34
+ * @return void
35
35
*/
36
36
public function setBody (StreamInterface $ body = null );
37
37
@@ -93,7 +93,7 @@ public function getHeaderAsArray($header);
93
93
* @param string $header Header name
94
94
* @param string|array $value Header value(s)
95
95
*
96
- * @return self Returns the message.
96
+ * @return void
97
97
*/
98
98
public function setHeader ($ header , $ value );
99
99
@@ -106,7 +106,7 @@ public function setHeader($header, $value);
106
106
*
107
107
* @param array $headers Headers to set.
108
108
*
109
- * @return self Returns the message.
109
+ * @return void
110
110
*/
111
111
public function setHeaders (array $ headers );
112
112
@@ -117,7 +117,7 @@ public function setHeaders(array $headers);
117
117
* @param string $header Header name to add
118
118
* @param string $value Value of the header
119
119
*
120
- * @return self
120
+ * @return void
121
121
*/
122
122
public function addHeader ($ header , $ value );
123
123
@@ -132,7 +132,7 @@ public function addHeader($header, $value);
132
132
*
133
133
* @param array $headers Associative array of headers to add to the message
134
134
*
135
- * @return self
135
+ * @return void
136
136
*/
137
137
public function addHeaders (array $ headers );
138
138
@@ -141,7 +141,7 @@ public function addHeaders(array $headers);
141
141
*
142
142
* @param string $header HTTP header to remove
143
143
*
144
- * @return self
144
+ * @return void
145
145
*/
146
146
public function removeHeader ($ header );
147
147
}
0 commit comments