1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Allow calls on non-empty-mixed too

This commit is contained in:
Brown 2018-12-10 11:36:00 -05:00
parent ed4077f589
commit fb19e510a7

View File

@ -207,6 +207,7 @@ class MethodCallAnalyzer extends \Psalm\Internal\Analyzer\Statements\Expression\
break;
case Type\Atomic\TMixed::class:
case Type\Atomic\TNonEmptyMixed::class:
case Type\Atomic\TGenericParam::class:
case Type\Atomic\TObject::class:
$codebase->analyzer->incrementMixedCount($statements_analyzer->getFilePath());