diff --git a/includes/sys_template.php b/includes/sys_template.php index 412615d6..4071f1bf 100644 --- a/includes/sys_template.php +++ b/includes/sys_template.php @@ -120,7 +120,6 @@ function progress_bar($valuemin, $valuemax, $valuenow, $class = '', $content = ' * * @param string $icon_name * @param string $class - * * @return string */ function icon(string $icon_name, string $class = ''): string diff --git a/resources/assets/js/forms.js b/resources/assets/js/forms.js index 3e41ef3f..9de1ea48 100644 --- a/resources/assets/js/forms.js +++ b/resources/assets/js/forms.js @@ -111,7 +111,7 @@ ready(() => { }); }); -/* +/** * Button to set current time in time input fields. */ ready(() => { @@ -152,7 +152,7 @@ ready(() => { */ ready(() => { [ - ['welcome-title', '.btn-group.btn-group .btn.d-none'], + ['welcome-title', '.btn-group .btn.d-none'], ['settings-title', '.user-settings .nav-item'], ['oauth-settings-title', 'table tr.d-none'], ].forEach(([id, selector]) => { @@ -183,8 +183,11 @@ ready(() => { return; } - const onChange = (e) => { - localStorage.setItem('collapseShiftsFilterSelect', e.type); + /** + * @param {Event} event + */ + const onChange = (event) => { + localStorage.setItem('collapseShiftsFilterSelect', event.type); }; document.getElementById('collapseShiftsFilterSelect') diff --git a/resources/views/admin/log.twig b/resources/views/admin/log.twig index bb723000..e7bc240c 100644 --- a/resources/views/admin/log.twig +++ b/resources/views/admin/log.twig @@ -11,7 +11,7 @@