automated phpcs fixes

This commit is contained in:
Dennis Eichhorn 2023-05-31 13:21:47 +00:00
parent 22495b7414
commit 1e23e1d0b0
2 changed files with 2 additions and 3 deletions

View File

@ -49,7 +49,7 @@ final class BackendController extends Controller
$view->setTemplate('/Modules/Marketing/Theme/Backend/promotion-list');
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1001902001, $request, $response);
$promotions = PromotionMapper::getAll()->limit(25)->execute();
$promotions = PromotionMapper::getAll()->limit(25)->execute();
$view->data['promotions'] = $promotions;
return $view;
@ -89,7 +89,7 @@ final class BackendController extends Controller
$mediaListView->setTemplate('/Modules/Media/Theme/Backend/Components/Media/list');
$view->data['medialist'] = $mediaListView;
$promotion = PromotionMapper::get()->where('id', (int) $request->getData('id'))->execute();
$promotion = PromotionMapper::get()->where('id', (int) $request->getData('id'))->execute();
$view->data['promotion'] = $promotion;
return $view;

View File

@ -108,7 +108,6 @@ class PromotionAttributeValue implements \JsonSerializable
*/
private ?BaseStringL11n $l11n = null;
/**
* Set value
*