update changelog and fix cs
This commit is contained in:
@@ -118,12 +118,13 @@ class AdministratorCreationForm extends BaseForm
|
||||
;
|
||||
}
|
||||
|
||||
protected function getLocaleList() {
|
||||
protected function getLocaleList()
|
||||
{
|
||||
$locales = array();
|
||||
|
||||
$list = LangQuery::create()->find();
|
||||
|
||||
foreach($list as $item) {
|
||||
foreach ($list as $item) {
|
||||
$locales[$item->getLocale()] = $item->getLocale();
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
namespace Thelia\Form\Area;
|
||||
use Symfony\Component\Validator\Constraints\GreaterThan;
|
||||
|
||||
|
||||
/**
|
||||
* Class AreaModificationForm
|
||||
* @package Thelia\Form\Shipping
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
namespace Thelia\Form;
|
||||
|
||||
use Symfony\Component\Validator\Constraints\GreaterThan;
|
||||
use Thelia\Form\StandardDescriptionFieldsTrait;
|
||||
|
||||
/**
|
||||
* Class ContentModificationForm
|
||||
|
||||
@@ -24,7 +24,6 @@ namespace Thelia\Form;
|
||||
|
||||
use Symfony\Component\Validator\Constraints;
|
||||
|
||||
|
||||
use Symfony\Component\Validator\ConstraintViolation;
|
||||
use Symfony\Component\Validator\ExecutionContextInterface;
|
||||
use Thelia\Core\Translation\Translator;
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
/*************************************************************************************/
|
||||
namespace Thelia\Form\Image;
|
||||
|
||||
|
||||
use Symfony\Component\Validator\Constraints\NotBlank;
|
||||
use Thelia\Core\Translation\Translator;
|
||||
use Thelia\Form\BaseForm;
|
||||
|
||||
@@ -22,10 +22,8 @@
|
||||
/*************************************************************************************/
|
||||
namespace Thelia\Form;
|
||||
|
||||
|
||||
use Thelia\Core\Translation\Translator;
|
||||
|
||||
|
||||
/**
|
||||
* Class MailingSystemModificationForm
|
||||
* @package Thelia\Form
|
||||
|
||||
@@ -41,8 +41,8 @@ class TaxCreationForm extends BaseForm
|
||||
|
||||
protected $taxEngine = null;
|
||||
|
||||
public function __construct(Request $request, $type= "form", $data = array(), $options = array(), TaxEngine $taxEngine = null) {
|
||||
|
||||
public function __construct(Request $request, $type= "form", $data = array(), $options = array(), TaxEngine $taxEngine = null)
|
||||
{
|
||||
$this->taxEngine = $taxEngine;
|
||||
|
||||
parent::__construct($request, $type, $data, $options);
|
||||
|
||||
Reference in New Issue
Block a user