Function returns the class instance the method is called on, which is obviously ImageStyleInterface. @return says it is ImageEffectInterface, which is obviously wrong.

Patch follows.

CommentFileSizeAuthor
#1 2297201_1.patch551 bytesslashrsm
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

slashrsm’s picture

Status: Active » Needs review
FileSize
551 bytes
Primsi’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 8bc9c2e and pushed to 8.x. Thanks!

  • alexpott committed 8bc9c2e on 8.x
    Issue #2297201 by slashrsm: Fixed Wrong return type on...

Status: Fixed » Closed (fixed)

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