Lines Matching refs:fromString
177 return new ArrayType(Type::fromString("int|string"), Type::fromString("mixed|ref"));
245 public static function fromString(string $typeString): SimpleType function in SimpleType
275 return new ArrayType(Type::fromString("int"), Type::fromString($matches[1]));
285 return new ArrayType(Type::fromString($matches[1]), Type::fromString($matches[3]));
575 SimpleType::fromString("Traversable"),
585 public static function fromString(string $typeString): self { function in Type
614 $simpleTypes[] = SimpleType::fromString($simpleTypeName);
3327 isset($docParamTypes[$varName]) ? Type::fromString($docParamTypes[$varName]) : null,
3348 $docReturnType ? Type::fromString($docReturnType) : null,
3410 Type::fromString($phpDocType),
3465 $phpDocType ? Type::fromString($phpDocType) : null,