mirror of
https://github.com/Karaka-Management/oms-Kanban.git
synced 2026-02-16 20:28:42 +00:00
automated phpcs fixes
This commit is contained in:
parent
1668fc7b82
commit
2fcc7b2138
|
|
@ -63,7 +63,7 @@ final class ApiController extends Controller
|
||||||
{
|
{
|
||||||
if (!empty($val = $this->validateKanbanCardCreate($request))) {
|
if (!empty($val = $this->validateKanbanCardCreate($request))) {
|
||||||
$response->data['kanban_card_create'] = new FormValidation($val);
|
$response->data['kanban_card_create'] = new FormValidation($val);
|
||||||
$response->header->status = RequestStatusCode::R_400;
|
$response->header->status = RequestStatusCode::R_400;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -188,7 +188,7 @@ final class ApiController extends Controller
|
||||||
{
|
{
|
||||||
if (!empty($val = $this->validateKanbanCardCommentCreate($request))) {
|
if (!empty($val = $this->validateKanbanCardCommentCreate($request))) {
|
||||||
$response->data['kanban_comment_create'] = new FormValidation($val);
|
$response->data['kanban_comment_create'] = new FormValidation($val);
|
||||||
$response->header->status = RequestStatusCode::R_400;
|
$response->header->status = RequestStatusCode::R_400;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -271,7 +271,7 @@ final class ApiController extends Controller
|
||||||
{
|
{
|
||||||
if (!empty($val = $this->validateKanbanBoardCreate($request))) {
|
if (!empty($val = $this->validateKanbanBoardCreate($request))) {
|
||||||
$response->data['kanban_board_create'] = new FormValidation($val);
|
$response->data['kanban_board_create'] = new FormValidation($val);
|
||||||
$response->header->status = RequestStatusCode::R_400;
|
$response->header->status = RequestStatusCode::R_400;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -413,7 +413,7 @@ final class ApiController extends Controller
|
||||||
{
|
{
|
||||||
if (!empty($val = $this->validateKanbanColumnCreate($request))) {
|
if (!empty($val = $this->validateKanbanColumnCreate($request))) {
|
||||||
$response->data['kanban_column_create'] = new FormValidation($val);
|
$response->data['kanban_column_create'] = new FormValidation($val);
|
||||||
$response->header->status = RequestStatusCode::R_400;
|
$response->header->status = RequestStatusCode::R_400;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -238,7 +238,7 @@ final class BackendController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
$view->setTemplate('/Modules/Kanban/Theme/Backend/kanban-card');
|
$view->setTemplate('/Modules/Kanban/Theme/Backend/kanban-card');
|
||||||
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1005801001, $request, $response);
|
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1005801001, $request, $response);
|
||||||
$view->data['card'] = $card;
|
$view->data['card'] = $card;
|
||||||
|
|
||||||
return $view;
|
return $view;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user