From 3c9e401dbb6695fe7c784b1a97be82f1f3251186 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 7 Apr 2024 17:47:07 +0000 Subject: [PATCH] autofixes --- Admin/Routes/Web/Backend.php | 18 +++++++++--------- Models/PermissionState.php | 1 - 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php index 9b0b7df..4599fec 100644 --- a/Admin/Routes/Web/Backend.php +++ b/Admin/Routes/Web/Backend.php @@ -10,7 +10,7 @@ return [ [ 'dest' => '\Modules\Production\Controller\BackendController:viewProductionList', 'verb' => RouteVerb::GET, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => BackendController::MODULE_NAME, 'type' => PermissionType::READ, @@ -22,7 +22,7 @@ return [ [ 'dest' => '\Modules\Production\Controller\BackendController:viewProductionCreate', 'verb' => RouteVerb::GET, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => BackendController::MODULE_NAME, 'type' => PermissionType::CREATE, @@ -34,7 +34,7 @@ return [ [ 'dest' => '\Modules\Production\Controller\BackendController:viewProductionView', 'verb' => RouteVerb::GET, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => BackendController::MODULE_NAME, 'type' => PermissionType::READ, @@ -46,7 +46,7 @@ return [ [ 'dest' => '\Modules\Production\Controller\BackendController:viewProductionMachineList', 'verb' => RouteVerb::GET, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => BackendController::MODULE_NAME, 'type' => PermissionType::READ, @@ -58,7 +58,7 @@ return [ [ 'dest' => '\Modules\Production\Controller\BackendController:viewProductionMachineCreate', 'verb' => RouteVerb::GET, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => BackendController::MODULE_NAME, 'type' => PermissionType::CREATE, @@ -70,7 +70,7 @@ return [ [ 'dest' => '\Modules\Production\Controller\BackendController:viewProductionMachineCreate', 'verb' => RouteVerb::GET, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => BackendController::MODULE_NAME, 'type' => PermissionType::CREATE, @@ -82,7 +82,7 @@ return [ [ 'dest' => '\Modules\Production\Controller\BackendController:viewProductionMachineList', 'verb' => RouteVerb::GET, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => BackendController::MODULE_NAME, 'type' => PermissionType::READ, @@ -94,7 +94,7 @@ return [ [ 'dest' => '\Modules\Production\Controller\BackendController:viewProductionMachineCreate', 'verb' => RouteVerb::GET, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => BackendController::MODULE_NAME, 'type' => PermissionType::CREATE, @@ -106,7 +106,7 @@ return [ [ 'dest' => '\Modules\Production\Controller\BackendController:viewProductionMachineCreate', 'verb' => RouteVerb::GET, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => BackendController::MODULE_NAME, 'type' => PermissionType::CREATE, diff --git a/Models/PermissionState.php b/Models/PermissionState.php index 4de8259..c85aa1d 100644 --- a/Models/PermissionState.php +++ b/Models/PermissionState.php @@ -31,5 +31,4 @@ abstract class PermissionState extends Enum public const RECIPE = 2; public const MACHINE = 3; - }