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

File /core/lib/Drupal/Core/Utility/ThemeRegistry.php

Line 54: Unused local variable $data

CommentFileSizeAuthor
#1 drupal-remove-unused-var-2062241-1.patch578 bytesduozersk

Comments

duozersk’s picture

Assigned: duozersk » Unassigned
Status: Active » Needs review
StatusFileSize
new578 bytes

Status: Needs review » Needs work
Issue tags: -Novice, -CodeSprintCIS

The last submitted patch, drupal-remove-unused-var-2062241-1.patch, failed testing.

duozersk’s picture

Status: Needs work » Needs review
Issue tags: +Novice, +CodeSprintCIS
andypost’s picture

Status: Needs review » Reviewed & tested by the community

yep, else has initialization too

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 311e02e and pushed to 8.x. Thanks!

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