Lines Matching refs:fromString
191 return new ArrayType(Type::fromString("int|string"), Type::fromString("mixed|ref"));
254 public static function fromString(string $typeString): SimpleType function in SimpleType
284 return new ArrayType(Type::fromString("int"), Type::fromString($matches[1]));
294 return new ArrayType(Type::fromString($matches[1]), Type::fromString($matches[3]));
588 SimpleType::fromString("Traversable"),
598 public static function fromString(string $typeString): self { function in Type
627 $simpleTypes[] = SimpleType::fromString($simpleTypeName);
4463 isset($docParamTypes[$varName]) ? Type::fromString($docParamTypes[$varName]) : null,
4484 $docReturnType ? Type::fromString($docReturnType) : null,
4557 $constPhpDocType = $phpDocType ? Type::fromString($phpDocType) : null;
4642 $phpDocType ? Type::fromString($phpDocType) : null,