Lines Matching refs:phpDocType

661     public $phpDocType;  variable in ArgInfo
665 …truct(string $name, int $sendBy, bool $isVariadic, ?Type $type, ?Type $phpDocType, ?string $defaul… argument
669 $this->setTypes($type, $phpDocType);
698 if ($this->phpDocType) {
699 return $this->phpDocType;
734 private function setTypes(?Type $type, ?Type $phpDocType): void argument
736 if ($phpDocType !== null && Type::equals($type, $phpDocType)) {
737 … throw new Exception('PHPDoc param type "' . $phpDocType->__toString() . '" is unnecessary');
741 $this->phpDocType = $phpDocType;
889 public $phpDocType; variable in ReturnInfo
895 …public function __construct(bool $byRef, ?Type $type, ?Type $phpDocType, bool $tentativeReturnType… argument
897 $this->setTypes($type, $phpDocType, $tentativeReturnType);
908 return $this->type ?? $this->phpDocType;
911 private function setTypes(?Type $type, ?Type $phpDocType, bool $tentativeReturnType): void argument
913 if ($phpDocType !== null && Type::equals($type, $phpDocType)) {
914 … throw new Exception('PHPDoc return type "' . $phpDocType->__toString() . '" is unnecessary');
918 $this->phpDocType = $phpDocType;
924 $type = $this->phpDocType ?? $this->type;
1174 … if ($this->return->refcount !== ReturnInfo::REFCOUNT_1 && $this->return->phpDocType === null) {
1178 $type = $this->return->phpDocType ?? $this->return->type;
1394 public $phpDocType; variable in PropertyInfo
1408 ?Type $phpDocType, argument
1417 $this->phpDocType = $phpDocType;
1569 if ($this->phpDocType) {
1570 return $this->phpDocType;
2381 $phpDocType = null;
2389 $phpDocType = $tag->getType();
2399 if ($propertyType === null && !$phpDocType) {
2418 $phpDocType ? Type::fromString($phpDocType) : null,
3448 $aliasedReturnType = $aliasedReturn->type ?? $aliasedReturn->phpDocType;
3449 $aliasReturnType = $aliasReturn->type ?? $aliasReturn->phpDocType;
3455 $aliasedPhpDocReturnType = $aliasedReturn->phpDocType;
3456 $aliasPhpDocReturnType = $aliasReturn->phpDocType;