File tree Expand file tree Collapse file tree 4 files changed +2
-6
lines changed
Expand file tree Collapse file tree 4 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 55namespace Frosh \TemplateMail \Services ;
66
77use Shopware \Core \Framework \Api \Context \SalesChannelApiSource ;
8- use Shopware \Core \Framework \Context ;
98use Shopware \Core \Framework \DataAbstractionLayer \EntityRepository ;
109use Shopware \Core \Framework \DataAbstractionLayer \Search \Criteria ;
1110use Shopware \Core \System \Language \LanguageCollection ;
Original file line number Diff line number Diff line change 44
55namespace Frosh \TemplateMail \Services ;
66
7- use DateTimeZone ;
87use Shopware \Core \Framework \Adapter \Twig \Exception \StringTemplateRenderingException ;
98use Shopware \Core \Framework \Context ;
109use Symfony \Component \DependencyInjection \Attribute \AsDecorator ;
@@ -48,7 +47,7 @@ public function initialize(): void
4847 /** @var CoreExtension $coreExtensionGlobal */
4948 $ coreExtensionGlobal = $ this ->platformTwig ->getExtension (CoreExtension::class);
5049
51- /** @var string|DateTimeZone $timezone */
50+ /** @var string|\ DateTimeZone $timezone */
5251 $ timezone = $ coreExtensionGlobal ->getTimezone ();
5352 $ coreExtensionInternal ->setTimezone ($ timezone );
5453
Original file line number Diff line number Diff line change 1- <?php
1+ <?php declare (strict_types= 1 );
22
33namespace Frosh \TemplateMail \Services ;
44
@@ -33,4 +33,3 @@ public function getStatusCode(): int
3333 }
3434 }
3535}
36-
Original file line number Diff line number Diff line change 1313use Shopware \Core \Content \MailTemplate \MailTemplateEvents ;
1414use Shopware \Core \Defaults ;
1515use Shopware \Core \Framework \Api \Context \SalesChannelApiSource ;
16- use Shopware \Core \Framework \Context ;
1716use Shopware \Core \Framework \DataAbstractionLayer \EntityRepository ;
1817use Shopware \Core \Framework \DataAbstractionLayer \Event \EntityLoadedEvent ;
1918use Shopware \Core \Framework \DataAbstractionLayer \Search \Criteria ;
You can’t perform that action at this time.
0 commit comments