diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php index 25dd45e..aae7cfe 100755 --- a/Admin/Routes/Web/Backend.php +++ b/Admin/Routes/Web/Backend.php @@ -22,7 +22,7 @@ return [ [ 'dest' => '\Modules\Support\Controller\BackendController:viewSupportList', 'verb' => RouteVerb::GET, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => BackendController::NAME, 'type' => PermissionType::READ, @@ -34,7 +34,7 @@ return [ [ 'dest' => '\Modules\Support\Controller\BackendController:viewSupportTicket', 'verb' => RouteVerb::GET, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => BackendController::NAME, 'type' => PermissionType::READ, @@ -46,7 +46,7 @@ return [ [ 'dest' => '\Modules\Support\Controller\BackendController:viewSupportCreate', 'verb' => RouteVerb::GET, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => BackendController::NAME, 'type' => PermissionType::CREATE, @@ -58,7 +58,7 @@ return [ [ 'dest' => '\Modules\Support\Controller\BackendController:viewSupportAnalysis', 'verb' => RouteVerb::GET, - 'active' => true, + 'active' => true, 'permission' => [ 'module' => BackendController::NAME, 'type' => PermissionType::READ, @@ -70,7 +70,7 @@ return [ [ 'dest' => '\Modules\Support\Controller\BackendController:viewSupportSettings', 'verb' => RouteVerb::GET, - 'active' => false, + 'active' => false, 'permission' => [ 'module' => BackendController::NAME, 'type' => PermissionType::READ, diff --git a/Models/Ticket.php b/Models/Ticket.php index 9177efa..a0a1fd5 100755 --- a/Models/Ticket.php +++ b/Models/Ticket.php @@ -71,9 +71,9 @@ class Ticket public function toArray() : array { return [ - 'id' => $this->id, - 'task' => $this->task, - 'app' => $this->app, + 'id' => $this->id, + 'task' => $this->task, + 'app' => $this->app, ]; }