From e90d6f8e90dc0e5ffeb5cc5f6b7c9334d0832be2 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 7 Apr 2024 17:47:06 +0000 Subject: [PATCH] autofixes --- Admin/Install/Application/Timerecording/Routes.php | 4 ++-- Admin/Routes/Web/Api.php | 4 ++-- Admin/Routes/Web/Backend.php | 6 +++--- Models/Session.php | 4 ++-- Theme/Backend/Lang/Navigation.de.lang.php | 2 +- Theme/Backend/Lang/Navigation.en.lang.php | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Admin/Install/Application/Timerecording/Routes.php b/Admin/Install/Application/Timerecording/Routes.php index 3e26a7c..f153041 100644 --- a/Admin/Install/Application/Timerecording/Routes.php +++ b/Admin/Install/Application/Timerecording/Routes.php @@ -5,7 +5,7 @@ return [ 0 => [ 'dest' => '\Modules\HumanResourceTimeRecording\Controller\TimerecordingController:viewDashboard', 'verb' => 1, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => 'HumanResourceTimeRecording', 'type' => 2, @@ -17,7 +17,7 @@ return [ 0 => [ 'dest' => '\Modules\HumanResourceTimeRecording\Controller\TimerecordingController:viewDashboard', 'verb' => 1, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => 'HumanResourceTimeRecording', 'type' => 2, diff --git a/Admin/Routes/Web/Api.php b/Admin/Routes/Web/Api.php index d89ad85..03121fe 100755 --- a/Admin/Routes/Web/Api.php +++ b/Admin/Routes/Web/Api.php @@ -23,7 +23,7 @@ return [ 'dest' => '\Modules\HumanResourceTimeRecording\Controller\ApiController:apiSessionCreate', 'verb' => RouteVerb::PUT, 'csrf' => true, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => ApiController::NAME, 'type' => PermissionType::CREATE, @@ -36,7 +36,7 @@ return [ 'dest' => '\Modules\HumanResourceTimeRecording\Controller\ApiController:apiSessionElementCreate', 'verb' => RouteVerb::PUT, 'csrf' => true, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => ApiController::NAME, 'type' => PermissionType::CREATE, diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php index 0522299..e016c93 100755 --- a/Admin/Routes/Web/Backend.php +++ b/Admin/Routes/Web/Backend.php @@ -22,7 +22,7 @@ return [ [ 'dest' => '\Modules\HumanResourceTimeRecording\Controller\BackendController:viewDashboard', 'verb' => RouteVerb::GET, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => BackendController::NAME, 'type' => PermissionType::READ, @@ -34,7 +34,7 @@ return [ [ 'dest' => '\Modules\HumanResourceTimeRecording\Controller\BackendController:viewPrivateDashboard', 'verb' => RouteVerb::GET, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => BackendController::NAME, 'type' => PermissionType::READ, @@ -46,7 +46,7 @@ return [ [ 'dest' => '\Modules\HumanResourceTimeRecording\Controller\BackendController:viewPrivateSession', 'verb' => RouteVerb::GET, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => BackendController::NAME, 'type' => PermissionType::READ, diff --git a/Models/Session.php b/Models/Session.php index 17a5c36..212c168 100755 --- a/Models/Session.php +++ b/Models/Session.php @@ -110,7 +110,7 @@ class Session implements \JsonSerializable \usort($this->sessionElements, [$this, 'compareSessionElementTimestamps']); $start = null; - $end = null; + $end = null; foreach ($this->sessionElements as $e) { if ($e->status === ClockingStatus::START @@ -125,7 +125,7 @@ class Session implements \JsonSerializable } $this->start = $start; - $this->end = $end; + $this->end = $end; $busyTime = 0; $lastStart = $this->start; diff --git a/Theme/Backend/Lang/Navigation.de.lang.php b/Theme/Backend/Lang/Navigation.de.lang.php index e27aaa8..d4f62cf 100755 --- a/Theme/Backend/Lang/Navigation.de.lang.php +++ b/Theme/Backend/Lang/Navigation.de.lang.php @@ -17,5 +17,5 @@ return ['Navigation' => [ 'List' => 'Liste', 'Stats' => 'Statistiken', 'TimeRecording' => 'Zeitaufnahme', - 'Dashboard' => 'Dashboard', + 'Dashboard' => 'Dashboard', ]]; diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php index 9ec8dac..8630f5e 100755 --- a/Theme/Backend/Lang/Navigation.en.lang.php +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -17,5 +17,5 @@ return ['Navigation' => [ 'List' => 'List', 'Stats' => 'Stats', 'TimeRecording' => 'Time Recording', - 'Dashboard' => 'Dashboard', + 'Dashboard' => 'Dashboard', ]];