mirror of
https://github.com/Karaka-Management/oms-Draw.git
synced 2026-01-25 12:28:41 +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))) {
|
||||
$response->data['draw_create'] = new FormValidation($val);
|
||||
$response->header->status = RequestStatusCode::R_400;
|
||||
$response->header->status = RequestStatusCode::R_400;
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ final class BackendController extends Controller
|
|||
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1005201001, $request, $response);
|
||||
|
||||
/** @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;
|
||||
|
||||
return $view;
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@ class DrawImage implements \JsonSerializable
|
|||
*/
|
||||
public null|int|Media $media = null;
|
||||
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user