@@ -233,7 +233,7 @@ discard block |
||
| 233 | 233 | * |
| 234 | 234 | * Creates and returns a Stream object for this resource |
| 235 | 235 | * |
| 236 | - * @return resource The underlying stream resource |
|
| 236 | + * @return Stream The underlying stream resource |
|
| 237 | 237 | */ |
| 238 | 238 | public function __invoke() |
| 239 | 239 | { |
@@ -853,6 +853,7 @@ discard block |
||
| 853 | 853 | * only be called on unopened stream resources. |
| 854 | 854 | * |
| 855 | 855 | * @param string The method that is asserting |
| 856 | + * @param string $method |
|
| 856 | 857 | * @return void |
| 857 | 858 | * @throws \CSVelte\Exception\IOException if stream is open |
| 858 | 859 | */ |
@@ -869,6 +870,7 @@ discard block |
||
| 869 | 870 | * Used internally to ensure that a given stream wrapper is valid and available |
| 870 | 871 | * |
| 871 | 872 | * @param string The name of the stream wrapper |
| 873 | + * @param string $name |
|
| 872 | 874 | * @return void |
| 873 | 875 | * @throws \InvalidArgumentException if wrapper doesn't exist |
| 874 | 876 | */ |
@@ -185,10 +185,10 @@ discard block |
||
| 185 | 185 | |
| 186 | 186 | // ok we're opening a new stream resource handle |
| 187 | 187 | $this->setUri($uri) |
| 188 | - ->setMode($mode) |
|
| 189 | - ->setLazy($lazy) |
|
| 190 | - ->setUseIncludePath($use_include_path) |
|
| 191 | - ->setContext($context_options, $context_params); |
|
| 188 | + ->setMode($mode) |
|
| 189 | + ->setLazy($lazy) |
|
| 190 | + ->setUseIncludePath($use_include_path) |
|
| 191 | + ->setContext($context_options, $context_params); |
|
| 192 | 192 | if (!$this->isLazy()) { |
| 193 | 193 | $this->connect(); |
| 194 | 194 | } |
@@ -351,9 +351,9 @@ discard block |
||
| 351 | 351 | |
| 352 | 352 | $this->flag = ''; |
| 353 | 353 | $this->setBaseMode($base) |
| 354 | - ->setIsPlus($plus == '+') |
|
| 355 | - ->setIsText($flag == 't') |
|
| 356 | - ->setIsBinary($flag == 'b'); |
|
| 354 | + ->setIsPlus($plus == '+') |
|
| 355 | + ->setIsText($flag == 't') |
|
| 356 | + ->setIsBinary($flag == 'b'); |
|
| 357 | 357 | |
| 358 | 358 | return $this; |
| 359 | 359 | } |