mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
Callable can be fully expressed if its uncomplicated
This commit is contained in:
parent
e5559e3012
commit
75e0684854
@ -39,6 +39,6 @@ class TCallable extends \Psalm\Type\Atomic
|
||||
|
||||
public function canBeFullyExpressedInPhp()
|
||||
{
|
||||
return false;
|
||||
return $this->params === null && $this->return_type === null;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user