src/AnnotationGenerator/PhpDocAnnotationGenerator.php
public function generateFieldAnnotations(string $className, string $fieldName): array
    {
        $field = $this->classes[$className]['fields'][$fieldName];
        $comment = $field['resource'] ? $field['resource']->get('rdfs:comment') : '';

        $annotations = $this->formatDoc((string) $comment, true);

        $annotations[0] = sprintf('@var %s %s', $this->toPhpDocType($field), $annotations[0]);
        $annotations[] = '';

        return $annotations;
    }
public function generateFieldAnnotations(string $className, string $fieldName): array
    {
        $field = $this->classes[$className]['fields'][$fieldName];
        $comment = $field['resource'] ? $field['resource']->get('rdfs:comment') : '';

        $annotations = $this->formatDoc((string) $comment, true);

        $annotations[0] = sprintf('@var %s %s', $this->toPhpDocType($field), $annotations[0]);
        $annotations[] = '';

        return $annotations;
    }
{@inheritdoc}