mirror of
https://github.com/Karaka-Management/oms-Marketing.git
synced 2026-02-17 18:38:41 +00:00
automated phpcs fixes
This commit is contained in:
parent
22495b7414
commit
1e23e1d0b0
|
|
@ -49,7 +49,7 @@ final class BackendController extends Controller
|
||||||
$view->setTemplate('/Modules/Marketing/Theme/Backend/promotion-list');
|
$view->setTemplate('/Modules/Marketing/Theme/Backend/promotion-list');
|
||||||
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1001902001, $request, $response);
|
$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;
|
$view->data['promotions'] = $promotions;
|
||||||
|
|
||||||
return $view;
|
return $view;
|
||||||
|
|
@ -89,7 +89,7 @@ final class BackendController extends Controller
|
||||||
$mediaListView->setTemplate('/Modules/Media/Theme/Backend/Components/Media/list');
|
$mediaListView->setTemplate('/Modules/Media/Theme/Backend/Components/Media/list');
|
||||||
$view->data['medialist'] = $mediaListView;
|
$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;
|
$view->data['promotion'] = $promotion;
|
||||||
|
|
||||||
return $view;
|
return $view;
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,6 @@ class PromotionAttributeValue implements \JsonSerializable
|
||||||
*/
|
*/
|
||||||
private ?BaseStringL11n $l11n = null;
|
private ?BaseStringL11n $l11n = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set value
|
* Set value
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user