Skip to content

Commit 6140a5e

Browse files
committed
Fix php8 test
1 parent 7497ed7 commit 6140a5e

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/CLI/Console.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,15 @@ static public function exit(int $status = 0): void
123123
* Execute a Commnad
124124
*
125125
* This function was inspired by: https://stackoverflow.com/a/13287902/2299554
126+
*
127+
* @param string $cmd
128+
* @param string $stdin
129+
* @param string $stdout
130+
* @param string $stderr
131+
* @param int $timeout
132+
* @return int
126133
*/
127-
static public function execute(string $cmd, string $stdin = '', string &$stdout, string &$stderr, int $timeout = -1): int
134+
static public function execute(string $cmd, string $stdin, string &$stdout, string &$stderr, int $timeout = -1): int
128135
{
129136
$pipes = [];
130137
$process = \proc_open(

0 commit comments

Comments
 (0)