Skip to content

Commit 2f76685

Browse files
committed
add phpdoc for facade methods
1 parent 4e9ce39 commit 2f76685

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/Facades/ChildProcess.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66

77
/**
88
* @method static \Native\Laravel\ChildProcess[] all()
9-
* @method static \Native\Laravel\ChildProcess get(string $alias)
9+
* @method static \Native\Laravel\ChildProcess get(string $alias = null)
1010
* @method static \Native\Laravel\ChildProcess message(string $message, string $alias = null)
11-
* @method static \Native\Laravel\ChildProcess restart(string $alias)
12-
* @method static \Native\Laravel\ChildProcess start(string $alias, array $cmd, string $cwd = null, array $env = null, bool $persistent = false)
13-
* @method static void stop(string $alias)
11+
* @method static \Native\Laravel\ChildProcess restart(string $alias = null)
12+
* @method static \Native\Laravel\ChildProcess start(string|array $cmd, string $alias, string $cwd = null, array $env = null, bool $persistent = false)
13+
* @method static \Native\Laravel\ChildProcess php(string|array $cmd, string $alias, array $env = null, bool $persistent = false)
14+
* @method static \Native\Laravel\ChildProcess artisan(string|array $cmd, string $alias, array $env = null, bool $persistent = false)
15+
* @method static \Native\Laravel\ChildProcess void stop(string $alias = null)
1416
*/
1517
class ChildProcess extends Facade
1618
{

0 commit comments

Comments
 (0)