@@ -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 | { |
@@ -245,7 +245,7 @@ discard block |
||
| 245 | 245 | * |
| 246 | 246 | * After the stream has been detached, the stream is in an unusable state. |
| 247 | 247 | * |
| 248 | - * @return BufferStream|null Underlying PHP stream, if any |
|
| 248 | + * @return string|false Underlying PHP stream, if any |
|
| 249 | 249 | */ |
| 250 | 250 | public function detach() |
| 251 | 251 | { |