Skip to content

Commit ff053a5

Browse files
fix: RequestTransformer type to RequestTransformerInterface (#55)
Co-authored-by: tinect <[email protected]>
1 parent 9a2d7aa commit ff053a5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "tinect/redirects",
33
"description": "Redirect plugin for Shopware 6",
4-
"version": "3.1.5",
4+
"version": "3.1.6",
55
"type": "shopware-platform-plugin",
66
"license": "MIT",
77
"authors": [

src/Subscriber/BeforeSendResponseSubscriber.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
namespace Tinect\Redirects\Subscriber;
66

77
use Shopware\Core\Content\Seo\SeoUrlPlaceholderHandlerInterface;
8+
use Shopware\Core\Framework\Routing\RequestTransformerInterface;
89
use Shopware\Core\PlatformRequest;
910
use Shopware\Core\SalesChannelRequest;
1011
use Shopware\Core\System\SalesChannel\Context\AbstractSalesChannelContextFactory;
@@ -33,7 +34,7 @@ public function __construct(
3334
private AbstractSalesChannelContextFactory $salesChannelContextFactory,
3435
private SystemConfigService $systemConfigService,
3536
private MessageBusInterface $messageBus,
36-
private RequestTransformer $requestTransformer,
37+
private RequestTransformerInterface $requestTransformer,
3738
private RedirectFinderService $redirectFinderService
3839
) {
3940
}

0 commit comments

Comments
 (0)