Part of meta-issue #2002650: [meta] improve maintainability by removing unused local variables
Line 56: Unused local variable $language
Closed the following as duplicates:
#2080073: Remove Unused local variable $group from /core/modules/system/system.api.php#2080099: Remove Unused local variable $entity from /core/modules/system/lib/Drupal/system/Tests/Entity/EntityCrudHookTest.php#2080097: Remove Unused local variable $name from /core/modules/system/lib/Drupal/system/Tests/Entity/EntityFieldTest.php
Attached patch fixes above issues as well.
Thanks @chertzog for patch.
I have tested patch its working fine for me.
Committed fb007a5 and pushed to 8.x. Thanks!
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.