@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | /** |
260 | 260 | * Closes the stream and any underlying resources. |
261 | 261 | * |
262 | - * @return void |
|
262 | + * @return boolean |
|
263 | 263 | */ |
264 | 264 | public function close() |
265 | 265 | { |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | * |
278 | 278 | * After the stream has been detached, the stream is in an unusable state. |
279 | 279 | * |
280 | - * @return array|Resource Underlying PHP stream, if any |
|
280 | + * @return string Underlying PHP stream, if any |
|
281 | 281 | * @todo I'm not sure what detach is for so I don't know whether what I'm |
282 | 282 | * doing here is right. The reason I have the method at all is because |
283 | 283 | * psr7 StreamInterface has one.f |