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

File /core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceFormatterBase.php

Line 34: Unused local variable $delta

#1 drupal-core-remove-unused-local-variable-2081185.patch914 bytesundertext
PASSED: [[SimpleTest]]: [MySQL] 58,469 pass(es). View
Members fund testing for the Drupal project. Drupal Association Learn more


undertext’s picture

914 bytes
PASSED: [[SimpleTest]]: [MySQL] 58,469 pass(es). View

Attached patch.

undertext’s picture

Status: Active » Needs review
smira’s picture

Status: Needs review » Reviewed & tested by the community
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.