@@ -131,6 +131,7 @@ discard block |
||
| 131 | 131 | * |
| 132 | 132 | * @see http://php.net/manual/en/function.fopen.php |
| 133 | 133 | * @see http://php.net/manual/en/function.stream-context-create.php |
| 134 | + * @param string $mode |
|
| 134 | 135 | */ |
| 135 | 136 | public static function open($uri, $mode = null, $context = null, $lazy = false) |
| 136 | 137 | { |
@@ -143,7 +144,7 @@ discard block |
||
| 143 | 144 | /** |
| 144 | 145 | * Close stream resource. |
| 145 | 146 | * |
| 146 | - * @return boolean True on success or false on failure |
|
| 147 | + * @return boolean|null True on success or false on failure |
|
| 147 | 148 | */ |
| 148 | 149 | public function close() |
| 149 | 150 | { |
@@ -224,7 +225,7 @@ discard block |
||
| 224 | 225 | * |
| 225 | 226 | * Returns the internal stream resource pointer |
| 226 | 227 | * |
| 227 | - * @return resource The open stream resource pointer |
|
| 228 | + * @return Resource The open stream resource pointer |
|
| 228 | 229 | */ |
| 229 | 230 | public function getResource() |
| 230 | 231 | { |
@@ -262,7 +263,7 @@ discard block |
||
| 262 | 263 | * |
| 263 | 264 | * After the stream has been detached, the stream is in an unusable state. |
| 264 | 265 | * |
| 265 | - * @return Resource|null Underlying PHP stream, if any |
|
| 266 | + * @return Resource Underlying PHP stream, if any |
|
| 266 | 267 | */ |
| 267 | 268 | public function detach() |
| 268 | 269 | { |