Skip to content

Param description not recognized after new line #6722

@weitzman

Description

@weitzman

Bug Report

I'm trying to add type hints and return types. It is working well except Rector/PHPStan are not recognizing param descriptions which are indented on a line below the @param. This conforms with the Drupal coding standard. See https://getrector.org/demo/1ec24596-06d6-6db8-9940-293d35a556a8 where @param is removed entirely because Rector thinks the param has no description.

Expected Behaviour

Leave @param alone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions