From deb2cccb0449a1f307dc587f80a4422b41fae317 Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Tue, 25 Jun 2019 14:40:45 -0400 Subject: [PATCH] whitespace adjustments --- .../footer/src/Plugin/Block/FooterBlock.php | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/modules/footer/src/Plugin/Block/FooterBlock.php b/modules/footer/src/Plugin/Block/FooterBlock.php index 485824e..426cd82 100644 --- a/modules/footer/src/Plugin/Block/FooterBlock.php +++ b/modules/footer/src/Plugin/Block/FooterBlock.php @@ -47,20 +47,18 @@ class FooterBlock extends BlockBase implements BlockPluginInterface { } usort($menu_array, function($a, $b) { - return $a['weight'] - $b['weight']; + return $a['weight'] - $b['weight']; }); - return array( + return array( '#theme' => 'footer', '#menu_array' => $menu_array, - '#attached' => array( - 'library' => array( - 'footer/footer', - ), - ), - - ); - - } + '#attached' => array( + 'library' => array( + 'footer/footer', + ), + ), + ); + } } -- 2.25.1