@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | /** |
| 147 | 147 | * Close stream resource. |
| 148 | 148 | * |
| 149 | - * @return boolean True on success or false on failure |
|
| 149 | + * @return boolean|null True on success or false on failure |
|
| 150 | 150 | */ |
| 151 | 151 | public function close() |
| 152 | 152 | { |
@@ -266,7 +266,7 @@ discard block |
||
| 266 | 266 | * |
| 267 | 267 | * After the stream has been detached, the stream is in an unusable state. |
| 268 | 268 | * |
| 269 | - * @return Resource|null Underlying PHP stream, if any |
|
| 269 | + * @return Resource Underlying PHP stream, if any |
|
| 270 | 270 | */ |
| 271 | 271 | public function detach() |
| 272 | 272 | { |