PHP-CS fixer passed
This commit is contained in:
@@ -50,8 +50,8 @@ interface ParserInterface
|
||||
*
|
||||
* @param int $templateType the template type (
|
||||
*
|
||||
* @param string $templateName the template name
|
||||
* @param string $templateDirectory path to the template dirtectory
|
||||
* @param string $templateName the template name
|
||||
* @param string $templateDirectory path to the template dirtectory
|
||||
* @param string $key ???
|
||||
* @param bool $unshift ??? Etienne ?
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
@@ -118,16 +118,16 @@ abstract class BaseForm
|
||||
* Thus, it should not be included in the form hidden fields generated by form_hidden_fields
|
||||
* Smarty function, to prevent it from exiting twice in the form.
|
||||
*
|
||||
* @param FormView $fieldView
|
||||
* @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;
|
||||
|
||||
@@ -97,4 +97,4 @@ trait SeoFieldsTrait
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user