Skip to content

Commit

Permalink
Merge pull request PrestaShop#25908 from atomiix/template-dir
Browse files Browse the repository at this point in the history
Fix wrong PrestaShopBundle templates directory
  • Loading branch information
PierreRambaud authored Sep 22, 2021
2 parents 4a41921 + ddded1e commit d5306fb
Show file tree
Hide file tree
Showing 523 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ parameters:
AdapterSecurityAdminClass: PrestaShop\PrestaShop\Adapter\Security\Admin
translator.class: PrestaShopBundle\Translation\Translator
translator.data_collector: PrestaShopBundle\Translation\DataCollectorTranslator
admin_page: "%kernel.root_dir%/../templates/bundles/PrestaShopBundle/Admin"
admin_page: "%kernel.root_dir%/../src/PrestaShopBundle/Resources/views/Admin"
env(PS_LOG_OUTPUT): "%kernel.logs_dir%/%kernel.environment%.log"
mail_themes_uri: "/mails/themes"
mail_themes_dir: "%kernel.project_dir%%mail_themes_uri%"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ class CommaTransformerExtension extends AbstractTypeExtension
/**
* {@inheritdoc}
*/
public function getExtendedType(): string
public static function getExtendedTypes(): iterable
{
return NumberType::class;
return [NumberType::class];
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ services:

prestashop.core.form.identifiable_object.handler.cart_summary_form_handler:
class: 'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\Handler\FormHandler'
factory: 'prestashop.core.form.identifiable_object.handler.form_handler_factory:create'
factory: ['@prestashop.core.form.identifiable_object.handler.form_handler_factory', 'create']
arguments:
- '@prestashop.core.form.identifiable_object.data_handler.cart_summary_form_data_handler'

Expand Down
Loading

0 comments on commit d5306fb

Please sign in to comment.