@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | * Read in the specified amount of characters from the input source |
120 | 120 | * |
121 | 121 | * @param integer Amount of characters to read from input source |
122 | - * @return string|boolean The specified amount of characters read from input source |
|
122 | + * @return false|string The specified amount of characters read from input source |
|
123 | 123 | */ |
124 | 124 | public function read($chars) |
125 | 125 | { |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | * |
247 | 247 | * After the stream has been detached, the stream is in an unusable state. |
248 | 248 | * |
249 | - * @return BufferStream|null Underlying PHP stream, if any |
|
249 | + * @return string Underlying PHP stream, if any |
|
250 | 250 | */ |
251 | 251 | public function detach() |
252 | 252 | { |
@@ -259,7 +259,7 @@ |
||
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 | { |