From 6e527e60dc3aba2ee6902940328b36a62e50f0a7 Mon Sep 17 00:00:00 2001 From: Agung Sugiarto Date: Tue, 31 Mar 2020 20:30:58 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- src/Helpers/menu_helper.php | 52 ++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/src/Helpers/menu_helper.php b/src/Helpers/menu_helper.php index aa68d69..9026b32 100644 --- a/src/Helpers/menu_helper.php +++ b/src/Helpers/menu_helper.php @@ -84,13 +84,13 @@ function nest($item, $parent_id) } /** - * The ugly for generate some html - * + * The ugly for generate some html. + * * return string hrml */ if (!function_exists('build')) { - function build() { - + function build() + { $html = ''; foreach (menu() as $parent) { $open = current_url() == base_url($parent->route) || in_array(uri_string(), array_column($parent->children, 'route')) ? 'menu-open' : ''; @@ -98,30 +98,30 @@ function build() { $link = base_url($parent->route); $html .= "