Skip to content

Commit ccbdce6

Browse files
committed
fix types
1 parent a50e6d7 commit ccbdce6

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

stubs/core.stub

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,14 @@ function header_register_callback(callable $callback): bool {}
364364
function register_tick_function(callable $callback, mixed ...$args): bool {}
365365

366366
/**
367-
* @param-out array<resource> $pipes
367+
* @param string|array<string> $command
368+
* @param array<mixed> $descriptor_spec
369+
* @param array<resource> $pipes
370+
* @param array<mixed> $env_vars
371+
* @param array<mixed> $options
372+
*
373+
* @param-out list<resource> $pipes
374+
*
375+
* @return resource|false
368376
*/
369-
function proc_open(array|string $command, array $descriptor_spec, &$pipes, ?string $cwd, ?array $env_vars, ?array $options): resource|false {}
377+
function proc_open(array|string $command, array $descriptor_spec, &$pipes, ?string $cwd, ?array $env_vars, ?array $options) {}

0 commit comments

Comments
 (0)