1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Callable can be fully expressed if its uncomplicated

This commit is contained in:
Matthew Brown 2019-01-04 08:36:44 -05:00
parent e5559e3012
commit 75e0684854

View File

@ -39,6 +39,6 @@ class TCallable extends \Psalm\Type\Atomic
public function canBeFullyExpressedInPhp()
{
return false;
return $this->params === null && $this->return_type === null;
}
}