diff --git a/Controller/ApiController.php b/Controller/ApiController.php index f23627a..038b9a6 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -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; } diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 29d3ebf..9178148 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -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; diff --git a/Models/DrawImage.php b/Models/DrawImage.php index f146cfc..140a910 100755 --- a/Models/DrawImage.php +++ b/Models/DrawImage.php @@ -42,7 +42,6 @@ class DrawImage implements \JsonSerializable */ public null|int|Media $media = null; - /** * {@inheritdoc} */