Part of meta-issue #2002650: [meta, no patch] improve maintainability by removing unused local variables

File /core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/field/formatter/EntityReferenceTaxonomyTermRssFormatter.php

Line 38: Unused local variable $delta

Comments

smira’s picture

Status: Active » Needs review
StatusFileSize
new903 bytes
lorique’s picture

Status: Needs review » Reviewed & tested by the community

The delta is gone, and is not used anywhere in the method EntityReferenceTaxonomyTermRssFormatter->viewElements(), so this can and has been safely removed.

Changing status. Thank you for your patch @mrsinguyen.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

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