From bd874f7b7dd8d584ebfe9a3f99fbe0f2fed59d06 Mon Sep 17 00:00:00 2001 From: Matthias Goudjil Date: Wed, 24 Apr 2024 10:26:34 +0200 Subject: [PATCH] gh-checks: php-cs-fixer --- .../Form/Admin/Sell/Catalog/AttributeType.php | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/PrestaShopBundle/Form/Admin/Sell/Catalog/AttributeType.php b/src/PrestaShopBundle/Form/Admin/Sell/Catalog/AttributeType.php index be11f1f5226b0..f2c6d2c5b8b6b 100644 --- a/src/PrestaShopBundle/Form/Admin/Sell/Catalog/AttributeType.php +++ b/src/PrestaShopBundle/Form/Admin/Sell/Catalog/AttributeType.php @@ -1,4 +1,5 @@ add('color', ColorType::class, [ 'label' => $this->trans('Color', 'Admin.Global'), - 'row_attr' => array( - 'class' => 'js-attribute-type-color-form-row'), + 'row_attr' => [ + 'class' => 'js-attribute-type-color-form-row', + ], 'required' => false, - ])->add('texture', FileType::class, [ + ]) + ->add('texture', FileType::class, [ 'label' => $this->trans('Texture', 'Admin.Global'), - 'row_attr' => array( - 'class' => 'js-attribute-type-texture-form-row'), + 'row_attr' => [ + 'class' => 'js-attribute-type-texture-form-row', + ], 'required' => false, ]); @@ -126,7 +129,8 @@ public function buildForm(FormBuilderInterface $builder, array $options) 'constraints' => [ new NotBlank([ 'message' => $this->trans( - 'This field cannot be empty.', 'Admin.Notifications.Error' + 'This field cannot be empty.', + 'Admin.Notifications.Error' ), ]), ],