Part of meta-issue #2002650: [meta] 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

Files: 
CommentFileSizeAuthor
#1 drupal-core-remove-unused-local-variable-2081127.patch1.52 KBmrsinguyen
PASSED: [[SimpleTest]]: [MySQL] 58,328 pass(es).
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new1.52 KB
PASSED: [[SimpleTest]]: [MySQL] 58,328 pass(es).
[ View ]

Status:Needs review» Reviewed & tested by the community

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

Title:Remove Unused local variable $field_name from /core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Core/Entity/Vocabulary.phpRemove 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.