Method | Description | |
---|---|---|
decideType ( ReflectionType $reflectionType = null, PHPStan\Type\Type $phpDocType = null, string $selfClass = null, boolean $isVariadic = false ) : PHPStan\Type\Type | ||
decideType ( PHPStan\Type\Type $type, PHPStan\Type\Type $phpDocType = null ) : PHPStan\Type\Type | ||
decideTypeFromReflection ( ReflectionType $reflectionType = null, PHPStan\Type\Type $phpDocType = null, string $selfClass = null, boolean $isVariadic = false ) : PHPStan\Type\Type | ||
getPhpDocParameterTypesFromMethod ( array $typeMap, array $parameterNames, string $docComment ) : array | ||
getPhpDocReturnTypeFromMethod ( array $typeMap, string $docComment ) : PHPStan\Type\Type | null | ||
getTypeObjectFromTypehint ( string $typehintString, boolean $isNullable, string $selfClass = null ) : PHPStan\Type\Type |
Method | Description | |
---|---|---|
getMethodParameterAnnotationTypeString ( array $phpDocParameterTypeStrings, string $parameterName ) : string | null | ||
getReturnTypeStringFromMethod ( string $docComment ) : string | null |
public static decideType ( ReflectionType $reflectionType = null, PHPStan\Type\Type $phpDocType = null, string $selfClass = null, boolean $isVariadic = false ) : PHPStan\Type\Type | ||
$reflectionType | ReflectionType | |
$phpDocType | PHPStan\Type\Type | |
$selfClass | string | |
$isVariadic | boolean | |
return | PHPStan\Type\Type |
public static decideType ( PHPStan\Type\Type $type, PHPStan\Type\Type $phpDocType = null ) : PHPStan\Type\Type | ||
$type | PHPStan\Type\Type | |
$phpDocType | PHPStan\Type\Type | |
return | PHPStan\Type\Type |
public static decideTypeFromReflection ( ReflectionType $reflectionType = null, PHPStan\Type\Type $phpDocType = null, string $selfClass = null, boolean $isVariadic = false ) : PHPStan\Type\Type | ||
$reflectionType | ReflectionType | |
$phpDocType | PHPStan\Type\Type | |
$selfClass | string | |
$isVariadic | boolean | |
return | PHPStan\Type\Type |