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

File /core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Core/Entity/Vocabulary.php

Line 120: Unused local variable $field_name
Line 123: Unused local variable $key
Line 159: Unused local variable $field_name

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mrsinguyen’s picture

Status: Active » Needs review
FileSize
1.52 KB
grisendo’s picture

grisendo’s picture

Status: Needs review » Reviewed & tested by the community

Still can be applied with Git and pass tests.
Unused variables removed correctly.

alexpott’s picture

Title: Remove Unused local variable $field_name from /core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Core/Entity/Vocabulary.php » Remove Unused local variables from /core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Core/Entity/Vocabulary.php
Status: Reviewed & tested by the community » Fixed

Committed b072871 and pushed to 8.x. Thanks!

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