Skip to content

Commit 2c2100e

Browse files
committed
PHPStan: accept bool in array
This is used for `send_to_shell` which is immediately unset if present.
1 parent a86560c commit 2c2100e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Context/FeatureContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ private function set_cache_dir(): void {
11691169
* Run a MySQL command with `$db_settings`.
11701170
*
11711171
* @param string $sql_cmd Command to run.
1172-
* @param array<string, string> $assoc_args Optional. Associative array of options. Default empty.
1172+
* @param array<string, string|bool> $assoc_args Optional. Associative array of options. Default empty.
11731173
* @param bool $add_database Optional. Whether to add dbname to the $sql_cmd. Default false.
11741174
* @return array{stdout: string, stderr: string, exit_code: int}
11751175
*/

0 commit comments

Comments
 (0)