/** @psalm-type CoolType = A|B|null **/ ... /** @return CoolType */ function foo() { ... } /** @param CoolType $a **/ function bar ($a) : void { } bar(foo());
We might want to namespace this as @psalm-type.
@psalm-type
Sick
Most helpful comment
We might want to namespace this as
@psalm-type.