Commit f5544cd6 authored by alexpott's avatar alexpott

Issue #2065125 by sergeypavlenko: Remove Unused local variable () from...

Issue #2065125 by sergeypavlenko: Remove Unused local variable () from /core/modules/views/lib/Drupal/views/DisplayBag.php.
parent a18a231e
......@@ -63,7 +63,7 @@ public function &get($instance_id) {
* Overrides \Drupal\Component\Plugin\PluginBag::clear().
*/
public function clear() {
foreach (array_filter($this->pluginInstances) as $display_id => $display) {
foreach (array_filter($this->pluginInstances) as $display) {
$display->destroy();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment