@@ -151,6 +151,7 @@ discard block |
||
| 151 | 151 | * ``fopen`` function |
| 152 | 152 | * @param array Stream context options array as passed to native php |
| 153 | 153 | * ``stream_context_create`` function |
| 154 | + * @param string $mode |
|
| 154 | 155 | * @see http://php.net/manual/en/function.fopen.php |
| 155 | 156 | * @see http://php.net/manual/en/function.stream-context-create.php |
| 156 | 157 | */ |
@@ -210,7 +211,7 @@ discard block |
||
| 210 | 211 | * ``fopen`` function) |
| 211 | 212 | * @param array $context Stream context options array as passed to native |
| 212 | 213 | * php ``stream_context_create`` function |
| 213 | - * @return stream resource object |
|
| 214 | + * @return resource resource object |
|
| 214 | 215 | * @throws CSVelte\Exception\IOException on invalid stream uri/resource |
| 215 | 216 | * @throws \InvalidArgumentException if context param is not an array |
| 216 | 217 | * @see http://php.net/manual/en/function.fopen.php |
@@ -408,7 +409,7 @@ discard block |
||
| 408 | 409 | * Reads $length bytes (number of characters) from the stream |
| 409 | 410 | * |
| 410 | 411 | * @param int $length Number of bytes to read from stream |
| 411 | - * @return string|boolean The data read from stream or false if at end of |
|
| 412 | + * @return false|string The data read from stream or false if at end of |
|
| 412 | 413 | * file or some other problem. |
| 413 | 414 | * @throws CSVelte\Exception\IOException |
| 414 | 415 | */ |
@@ -460,7 +461,7 @@ discard block |
||
| 460 | 461 | * Rewinds the stream, meaning it returns the pointer to the beginning of the |
| 461 | 462 | * stream as if it had just been initialized. |
| 462 | 463 | * |
| 463 | - * @return boolean True on success |
|
| 464 | + * @return boolean|null True on success |
|
| 464 | 465 | */ |
| 465 | 466 | public function rewind() |
| 466 | 467 | { |