Skip to content

Commit c5b9d66

Browse files
committed
fix: formatting issues
1 parent 48ef3cf commit c5b9d66

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

src/Services/SearchPathProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace Frosh\TemplateMail\Services;
66

77
use Shopware\Core\Framework\Api\Context\SalesChannelApiSource;
8-
use Shopware\Core\Framework\Context;
98
use Shopware\Core\Framework\DataAbstractionLayer\EntityRepository;
109
use Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria;
1110
use Shopware\Core\System\Language\LanguageCollection;

src/Services/StringTemplateRenderer.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace Frosh\TemplateMail\Services;
66

7-
use DateTimeZone;
87
use Shopware\Core\Framework\Adapter\Twig\Exception\StringTemplateRenderingException;
98
use Shopware\Core\Framework\Context;
109
use 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

src/Services/StringTemplateRenderingException.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
namespace Frosh\TemplateMail\Services;
44

@@ -33,4 +33,3 @@ public function getStatusCode(): int
3333
}
3434
}
3535
}
36-

src/Subscriber/MailTemplateSubscriber.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use Shopware\Core\Content\MailTemplate\MailTemplateEvents;
1414
use Shopware\Core\Defaults;
1515
use Shopware\Core\Framework\Api\Context\SalesChannelApiSource;
16-
use Shopware\Core\Framework\Context;
1716
use Shopware\Core\Framework\DataAbstractionLayer\EntityRepository;
1817
use Shopware\Core\Framework\DataAbstractionLayer\Event\EntityLoadedEvent;
1918
use Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria;

0 commit comments

Comments
 (0)