mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Allow calls on non-empty-mixed too
This commit is contained in:
parent
ed4077f589
commit
fb19e510a7
@ -207,6 +207,7 @@ class MethodCallAnalyzer extends \Psalm\Internal\Analyzer\Statements\Expression\
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case Type\Atomic\TMixed::class:
|
case Type\Atomic\TMixed::class:
|
||||||
|
case Type\Atomic\TNonEmptyMixed::class:
|
||||||
case Type\Atomic\TGenericParam::class:
|
case Type\Atomic\TGenericParam::class:
|
||||||
case Type\Atomic\TObject::class:
|
case Type\Atomic\TObject::class:
|
||||||
$codebase->analyzer->incrementMixedCount($statements_analyzer->getFilePath());
|
$codebase->analyzer->incrementMixedCount($statements_analyzer->getFilePath());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user