mirror of
https://github.com/Karaka-Management/oms-Support.git
synced 2026-01-10 16:48:41 +00:00
autofixes
This commit is contained in:
parent
a4d02a8411
commit
d8a3eafd4e
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user