From 647433f17b6cead938caf82ebe90c24d5b4eef0a Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Tue, 19 Mar 2024 08:28:26 +0000
Subject: [PATCH] added code improvement

---
 lib/modules/ScheduleWidget.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/modules/ScheduleWidget.php b/lib/modules/ScheduleWidget.php
index 339beb3f87f..5adc8017c38 100644
--- a/lib/modules/ScheduleWidget.php
+++ b/lib/modules/ScheduleWidget.php
@@ -43,7 +43,7 @@ class ScheduleWidget extends CorePlugin implements PortalPlugin
             $GLOBALS['user']->id,
             false,
             false,
-            $days = array(0,1,2,3,4)
+            $days = [0, 1, 2, 3, 4]
         );
 
         $template = $GLOBALS['template_factory']->open('shared/string');
-- 
GitLab