1
0
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:
Matthew Brown 2019-10-11 23:33:36 -04:00
parent 4478d31593
commit e5623e9257

View File

@ -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;
}