Transforms a php doc tag value to a {@link Type} instance.
- author Baptiste Leduc
- internal
CloneableFinalInstantiable
Methods |
public getTypes(PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagValueNode $node, Symfony Creates a {@see Type} from a PhpDocTagValueNode type.
|
Methods |
private compressNullableType(array $types) : array Because PhpStan extract null as a separated type when Symfony / PHP compress it in the first available type we need this method to mimic how Symfony want null types.
|
private extractTypes(PHPStan\PhpDocParser\Ast\Type\TypeNode $node, Symfony
|