-
-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
Description
hi, install library just like instruction in readme.md and got "clue/shell-react": "^0.2"
in my composer.json but when run any samples code this error is throwing
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Clue\React\Shell\ProcessLauncher::__construct(), 0 passed in /home/guangrei/myphp/test.php on line 8 and exactly 1 expected in /home/guangrei/myphp/vendor/clue/shell-react/src/ProcessLauncher.php:14
Stack trace:
#0 /home/guangrei/myphp/test.php(8): Clue\React\Shell\ProcessLauncher->__construct()
#1 {main}
thrown in /home/guangrei/myphp/vendor/clue/shell-react/src/ProcessLauncher.php on line 14
my php version is 7.4.