mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Allow byref args of socket_select to pass through unchanged
This commit is contained in:
parent
24980cd7d7
commit
51280c1670
@ -1675,6 +1675,18 @@ class CallChecker
|
||||
}
|
||||
}
|
||||
|
||||
if ($method_id === 'socket_select') {
|
||||
if (ExpressionChecker::analyze(
|
||||
$statements_checker,
|
||||
$arg->value,
|
||||
$context
|
||||
) === false) {
|
||||
return false;
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
ExpressionChecker::assignByRefParam(
|
||||
$statements_checker,
|
||||
$arg->value,
|
||||
|
Loading…
Reference in New Issue
Block a user