type = $type; $this->oldAnnotation = $oldAnnotation; $this->newAnnotation = $newAnnotation; } public function getObjectType() : \PHPStan\Type\ObjectType { return new \PHPStan\Type\ObjectType($this->type); } public function getOldAnnotation() : string { return $this->oldAnnotation; } public function getNewAnnotation() : string { return $this->newAnnotation; } }