mirror of
https://github.com/Karaka-Management/oms-Dashboard.git
synced 2026-02-17 10:48:40 +00:00
automated phpcs fixes
This commit is contained in:
parent
a7b31e921b
commit
50e62abd58
|
|
@ -72,7 +72,7 @@ final class ApiController extends Controller
|
||||||
{
|
{
|
||||||
if (!empty($val = $this->validateBoardCreate($request))) {
|
if (!empty($val = $this->validateBoardCreate($request))) {
|
||||||
$response->data[$request->uri->__toString()] = new FormValidation($val);
|
$response->data[$request->uri->__toString()] = new FormValidation($val);
|
||||||
$response->header->status = RequestStatusCode::R_400;
|
$response->header->status = RequestStatusCode::R_400;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -139,7 +139,7 @@ final class ApiController extends Controller
|
||||||
{
|
{
|
||||||
if (!empty($val = $this->validateComponentCreate($request))) {
|
if (!empty($val = $this->validateComponentCreate($request))) {
|
||||||
$response->data[$request->uri->__toString()] = new FormValidation($val);
|
$response->data[$request->uri->__toString()] = new FormValidation($val);
|
||||||
$response->header->status = RequestStatusCode::R_400;
|
$response->header->status = RequestStatusCode::R_400;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,6 @@ class DashboardComponent implements \JsonSerializable
|
||||||
*/
|
*/
|
||||||
public string $component = '';
|
public string $component = '';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user