Skip to content

Commit de11de6

Browse files
author
Phil Sturgeon
committed
1 parent 318370f commit de11de6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/MessageInterface.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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
}

src/RequestInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function getMethod();
2525
*
2626
* @param string $method Case-insensitive method.
2727
*
28-
* @return self Returns the request.
28+
* @return void
2929
*/
3030
public function setMethod($method);
3131

@@ -45,7 +45,7 @@ public function getUrl();
4545
*
4646
* @param string $url Request URL.
4747
*
48-
* @return self Reference to the request.
48+
* @return void
4949
* @throws \InvalidArgumentException If the URL is invalid.
5050
* @link http://tools.ietf.org/html/rfc3986#section-4.3
5151
*/

0 commit comments

Comments
 (0)