Просмотр исходного кода

betatesting correctif

feature/symfony6.1
Charly 3 лет назад
Родитель
Сommit
0ec9f94dc7
5 измененных файлов: 2 добавлений и 14 удалений
  1. +0
    -6
      Controller/Reminder/ReminderAdminController.php
  2. +0
    -1
      Controller/User/UserAdminController.php
  3. +0
    -1
      Form/Setting/SiteSettingsFormType.php
  4. +0
    -4
      Model/Site/PageModel.php
  5. +2
    -2
      Model/Site/SiteModel.php

+ 0
- 6
Controller/Reminder/ReminderAdminController.php Просмотреть файл

@@ -3,8 +3,6 @@
namespace Lc\SovBundle\Controller\Reminder;

use Doctrine\ORM\EntityManagerInterface;
use Lc\CaracoleBundle\Resolver\MerchantResolver;
use Lc\CaracoleBundle\Resolver\SectionResolver;
use Lc\SovBundle\Factory\Reminder\ReminderFactoryInterface;
use Lc\SovBundle\Form\Reminder\ReminderAdminFormType;
use Lc\SovBundle\Repository\Reminder\ReminderRepositoryQueryInterface;
@@ -35,8 +33,6 @@ class ReminderAdminController extends AbstractController
ReminderRepositoryQueryInterface $reminderRepositoryQuery,
FormFactoryInterface $formFactory,
UrlGeneratorInterface $urlGenerator,
MerchantResolver $merchantResolver,
SectionResolver $sectionResolver,
ParameterBagInterface $parameterBag
) {
$this->entityManager = $entityManager;
@@ -44,8 +40,6 @@ class ReminderAdminController extends AbstractController
$this->reminderRepositoryQuery = $reminderRepositoryQuery;
$this->formFactory = $formFactory;
$this->urlGenerator = $urlGenerator;
$this->merchantResolver = $merchantResolver;
$this->sectionResolver = $sectionResolver;
$this->parameterBag = $parameterBag;
}


+ 0
- 1
Controller/User/UserAdminController.php Просмотреть файл

@@ -23,7 +23,6 @@ abstract class UserAdminController extends AbstractAdminController
TranslatorAdmin $translatorAdmin,
RolesDefinitionInterface $rolesDefinition
) {
parent::__construct($session, $request, $em, $translatorAdmin);
$this->rolesDefinition = $rolesDefinition;
}


+ 0
- 1
Form/Setting/SiteSettingsFormType.php Просмотреть файл

@@ -3,7 +3,6 @@
namespace Lc\SovBundle\Form\Setting;

use Doctrine\ORM\EntityManagerInterface;
use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
use Lc\SovBundle\Model\Site\SiteInterface;
use Lc\SovBundle\Translation\TranslatorAdmin;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;

+ 0
- 4
Model/Site/PageModel.php Просмотреть файл

@@ -3,10 +3,6 @@
namespace Lc\SovBundle\Model\Site;

use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Doctrine\Extension\FilterMerchantInterface;
use Lc\CaracoleBundle\Doctrine\Extension\FilterSectionInterface;
use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
use Lc\CaracoleBundle\Model\Section\SectionInterface;
use Lc\SovBundle\Doctrine\Pattern\AbstractFullEntity;

/**

+ 2
- 2
Model/Site/SiteModel.php Просмотреть файл

@@ -5,7 +5,7 @@ namespace Lc\SovBundle\Model\Site;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Setting\EntitySettingTrait;
//use Lc\CaracoleBundle\Model\Setting\EntitySettingTrait;
use Lc\SovBundle\Model\Setting\SiteSettingInterface;
use Lc\SovBundle\Doctrine\EntityInterface;
use Lc\SovBundle\Doctrine\Extension\DevAliasInterface;
@@ -13,7 +13,7 @@ use Lc\SovBundle\Doctrine\Extension\DevAliasTrait;

abstract class SiteModel implements SiteInterface, EntityInterface, DevAliasInterface
{
use EntitySettingTrait;
// use EntitySettingTrait;
use DevAliasTrait;

/**

Загрузка…
Отмена
Сохранить