mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Fix list scanning
This commit is contained in:
parent
5774cfed7d
commit
dec274a1fe
@ -541,6 +541,14 @@ abstract class Atomic
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this instanceof Type\Atomic\TList) {
|
||||||
|
$this->type_param->queueClassLikesForScanning(
|
||||||
|
$codebase,
|
||||||
|
$file_storage,
|
||||||
|
$phantom_classes
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
if ($this instanceof Type\Atomic\TFn
|
if ($this instanceof Type\Atomic\TFn
|
||||||
|| $this instanceof Type\Atomic\TCallable
|
|| $this instanceof Type\Atomic\TCallable
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user