PHP-CS fixer passed
This commit is contained in:
@@ -24,7 +24,6 @@ use Thelia\Core\Template\ParserContext;
|
||||
use Thelia\Core\Template\ParserInterface;
|
||||
use Thelia\Core\Template\Smarty\AbstractSmartyPlugin;
|
||||
use Thelia\Core\Template\Smarty\SmartyPluginDescriptor;
|
||||
use Thelia\Core\Template\TemplateHelper;
|
||||
use Thelia\Form\BaseForm;
|
||||
|
||||
/**
|
||||
|
||||
@@ -121,13 +121,13 @@ abstract class BaseForm
|
||||
* @param FormView $fieldView
|
||||
* @return bool
|
||||
*/
|
||||
public function isTemplateDefinedHiddenField($fieldView) {
|
||||
public function isTemplateDefinedHiddenField($fieldView)
|
||||
{
|
||||
$name = $fieldView->vars['name'];
|
||||
|
||||
return $name == 'success_url' || $name == 'error_message';
|
||||
}
|
||||
|
||||
|
||||
public function getRequest()
|
||||
{
|
||||
return $this->request;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
namespace Thelia\Form\Brand;
|
||||
|
||||
use Symfony\Component\Validator\Constraints\GreaterThan;
|
||||
use Symfony\Component\Validator\Constraints\NotBlank;
|
||||
use Thelia\Core\Translation\Translator;
|
||||
use Thelia\Form\StandardDescriptionFieldsTrait;
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
namespace Thelia\Form\Image;
|
||||
|
||||
use Symfony\Component\Validator\Constraints\NotBlank;
|
||||
use Thelia\Core\Translation\Translator;
|
||||
use Thelia\Form\BaseForm;
|
||||
use Thelia\Form\StandardDescriptionFieldsTrait;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
namespace Thelia\Form\Image;
|
||||
|
||||
use Symfony\Component\Validator\Constraints\Image;
|
||||
use Symfony\Component\Validator\Constraints\NotBlank;
|
||||
use Thelia\Core\Translation\Translator;
|
||||
use Thelia\Form\BaseForm;
|
||||
use Thelia\Form\StandardDescriptionFieldsTrait;
|
||||
|
||||
Reference in New Issue
Block a user