mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
Unbreak gettype support
This commit is contained in:
parent
cb5630d156
commit
e079781b35
@ -1347,7 +1347,7 @@ class FunctionCallAnalyzer extends CallAnalyzer
|
||||
? Type::getObject()
|
||||
: $context->vars_in_scope[$var_id]
|
||||
);
|
||||
} elseif ($function_name->parts === ['get_class']) {
|
||||
} elseif ($function_name->parts === ['gettype']) {
|
||||
$atomic_type = new Type\Atomic\TDependentGetType($var_id);
|
||||
} else {
|
||||
$atomic_type = new Type\Atomic\TDependentGetDebugType($var_id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user