src/AnnotationGenerator/PhpDocAnnotationGenerator.php
public function generateSetterAnnotations(string $className, string $fieldName): array
    {
        if (!$this->isDocUseful($className, $fieldName)) {
            return [];
        }

        $field = $this->classes[$className]['fields'][$fieldName];

        return [sprintf('@param %s $%s', $this->toPhpDocType($this->classes[$className]['fields'][$fieldName]), $field['name'])];
    }
public function generateSetterAnnotations(string $className, string $fieldName): array
    {
        if (!$this->isDocUseful($className, $fieldName)) {
            return [];
        }

        $field = $this->classes[$className]['fields'][$fieldName];

        return [sprintf('@param %s $%s', $this->toPhpDocType($this->classes[$className]['fields'][$fieldName]), $field['name'])];
    }
{@inheritdoc}