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

File /core/modules/views/lib/Drupal/views/Tests/Handler/RelationshipTest.php

Line 128: Unused local variable $key

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

legolasbo’s picture

Assigned: legolasbo » Unassigned
Status: Active » Needs review
FileSize
709 bytes

Removed unused variable

erik.erskine’s picture

Looks fine to me. Applies cleanly.
The $key variable within the foreach block is not necessary.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Setting to RTBC according to #2

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed a34cb25 and pushed to 8.x. Thanks!

Committed as part of a merged commit for #2002650: [meta, no patch] improve maintainability by removing unused local variables

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