Problem/Motivation

#2270551: Modify sniff to allow $ (this) in @return allowed $this as a type for @return,
but also we need to allow a comment under that to be optional

From the standard: https://www.drupal.org/node/1354#types
"You may omit the description if using @return $this"

Proposed resolution

Change the rules to allow @return $this to not have a comment

Remaining tasks

?

User interface changes

None

API changes

None

Comments

  • klausi committed 216f920 on 8.x-2.x
    Issue #2288837 : Fixed @return sniff to not throw errors when...
klausi’s picture

Status: Active » Fixed

Fixed, thanks for reporting!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.