mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fix function call
This commit is contained in:
parent
4478d31593
commit
e5623e9257
@ -269,7 +269,7 @@ class ArrayFetchAnalyzer
|
||||
$either_tainted = 0;
|
||||
|
||||
if (isset($stmt->var->inferredType)) {
|
||||
$sources = array_merge($sources, $stmt->var->inferredType->sources ?: []);
|
||||
$sources = \array_merge($sources, $stmt->var->inferredType->sources ?: []);
|
||||
$either_tainted = $either_tainted | $stmt->var->inferredType->tainted;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user