mirror of
https://github.com/Karaka-Management/oms-Draw.git
synced 2026-02-13 21:58:40 +00:00
automated phpcs fixes
This commit is contained in:
parent
d81c129f6b
commit
e300212947
|
|
@ -76,7 +76,7 @@ final class ApiController extends Controller
|
||||||
{
|
{
|
||||||
if (!empty($val = $this->validateDrawCreate($request))) {
|
if (!empty($val = $this->validateDrawCreate($request))) {
|
||||||
$response->data['draw_create'] = new FormValidation($val);
|
$response->data['draw_create'] = new FormValidation($val);
|
||||||
$response->header->status = RequestStatusCode::R_400;
|
$response->header->status = RequestStatusCode::R_400;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -124,7 +124,7 @@ final class BackendController extends Controller
|
||||||
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1005201001, $request, $response);
|
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1005201001, $request, $response);
|
||||||
|
|
||||||
/** @var \Modules\Draw\Models\DrawImage[] $images */
|
/** @var \Modules\Draw\Models\DrawImage[] $images */
|
||||||
$images = DrawImageMapper::getAll()->sort('id', OrderType::DESC)->limit(25);
|
$images = DrawImageMapper::getAll()->sort('id', OrderType::DESC)->limit(25);
|
||||||
$view->data['images'] = $images;
|
$view->data['images'] = $images;
|
||||||
|
|
||||||
return $view;
|
return $view;
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,6 @@ class DrawImage implements \JsonSerializable
|
||||||
*/
|
*/
|
||||||
public null|int|Media $media = null;
|
public null|int|Media $media = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user