autofixes

This commit is contained in:
Dennis Eichhorn 2024-04-07 17:47:07 +00:00
parent a4d02a8411
commit d8a3eafd4e
2 changed files with 8 additions and 8 deletions

View File

@ -22,7 +22,7 @@ return [
[ [
'dest' => '\Modules\Support\Controller\BackendController:viewSupportList', 'dest' => '\Modules\Support\Controller\BackendController:viewSupportList',
'verb' => RouteVerb::GET, 'verb' => RouteVerb::GET,
'active' => true, 'active' => true,
'permission' => [ 'permission' => [
'module' => BackendController::NAME, 'module' => BackendController::NAME,
'type' => PermissionType::READ, 'type' => PermissionType::READ,
@ -34,7 +34,7 @@ return [
[ [
'dest' => '\Modules\Support\Controller\BackendController:viewSupportTicket', 'dest' => '\Modules\Support\Controller\BackendController:viewSupportTicket',
'verb' => RouteVerb::GET, 'verb' => RouteVerb::GET,
'active' => true, 'active' => true,
'permission' => [ 'permission' => [
'module' => BackendController::NAME, 'module' => BackendController::NAME,
'type' => PermissionType::READ, 'type' => PermissionType::READ,
@ -46,7 +46,7 @@ return [
[ [
'dest' => '\Modules\Support\Controller\BackendController:viewSupportCreate', 'dest' => '\Modules\Support\Controller\BackendController:viewSupportCreate',
'verb' => RouteVerb::GET, 'verb' => RouteVerb::GET,
'active' => true, 'active' => true,
'permission' => [ 'permission' => [
'module' => BackendController::NAME, 'module' => BackendController::NAME,
'type' => PermissionType::CREATE, 'type' => PermissionType::CREATE,
@ -58,7 +58,7 @@ return [
[ [
'dest' => '\Modules\Support\Controller\BackendController:viewSupportAnalysis', 'dest' => '\Modules\Support\Controller\BackendController:viewSupportAnalysis',
'verb' => RouteVerb::GET, 'verb' => RouteVerb::GET,
'active' => true, 'active' => true,
'permission' => [ 'permission' => [
'module' => BackendController::NAME, 'module' => BackendController::NAME,
'type' => PermissionType::READ, 'type' => PermissionType::READ,
@ -70,7 +70,7 @@ return [
[ [
'dest' => '\Modules\Support\Controller\BackendController:viewSupportSettings', 'dest' => '\Modules\Support\Controller\BackendController:viewSupportSettings',
'verb' => RouteVerb::GET, 'verb' => RouteVerb::GET,
'active' => false, 'active' => false,
'permission' => [ 'permission' => [
'module' => BackendController::NAME, 'module' => BackendController::NAME,
'type' => PermissionType::READ, 'type' => PermissionType::READ,

View File

@ -71,9 +71,9 @@ class Ticket
public function toArray() : array public function toArray() : array
{ {
return [ return [
'id' => $this->id, 'id' => $this->id,
'task' => $this->task, 'task' => $this->task,
'app' => $this->app, 'app' => $this->app,
]; ];
} }