From fcd2f303e67020070839a25fc1319f1af3918ee0 Mon Sep 17 00:00:00 2001 From: ebremner <ebremner@uwaterloo.ca> Date: Tue, 1 Dec 2020 13:35:34 -0500 Subject: [PATCH] ISTWCMS-4199: coding standards --- src/Service/UWService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/UWService.php b/src/Service/UWService.php index 21d6d0a5..75601919 100644 --- a/src/Service/UWService.php +++ b/src/Service/UWService.php @@ -353,7 +353,7 @@ class UWService implements UWServiceInterface { public function uwCountMenuItems($menus, &$menu_items_count): void { // Step through the menus and check for submenus and count. - foreach ($menus as $index => $menu) { + foreach ($menus as $menu) { // If there is a submenu, recursivley call the count function. if (isset($menu['submenu']) && count($menu['submenu']) > 0) { -- GitLab