Skip to content

Commit d22ba2e

Browse files
committed
Proper type for argument
1 parent 623371f commit d22ba2e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

run-tests.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,13 +1182,12 @@ function error_report(string $testname, string $logname, string $tested): void
11821182
}
11831183

11841184
/**
1185-
* @param null $stdin
11861185
* @return false|string
11871186
*/
11881187
function system_with_timeout(
11891188
string $commandline,
11901189
?array $env = null,
1191-
$stdin = null,
1190+
?string $stdin = null,
11921191
bool $captureStdIn = true,
11931192
bool $captureStdOut = true,
11941193
bool $captureStdErr = true

0 commit comments

Comments
 (0)