mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Check for variadic functions
This commit is contained in:
parent
9556e9ad69
commit
a4add37293
@ -541,7 +541,7 @@ class AtomicMethodCallAnalyzer extends CallAnalyzer
|
||||
}
|
||||
|
||||
if (!$has_packed_arg) {
|
||||
$has_variadic_param = false;
|
||||
$has_variadic_param = $method_storage->variadic;
|
||||
|
||||
foreach ($method_storage->params as $param) {
|
||||
$has_variadic_param = $has_variadic_param || $param->is_variadic;
|
||||
|
Loading…
Reference in New Issue
Block a user