Skip to content

Commit c206c93

Browse files
committed
Undo removal of M2.4.5 workarounds, use patch instead
1 parent bbbe655 commit c206c93

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Controller/Adminhtml/Index/Html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function __construct(
4949
parent::__construct($context);
5050
}
5151

52-
public function execute(): ResultInterface
52+
public function execute(): ResultInterface|ResponseInterface
5353
{
5454
$data = $this->requestDataLoader->load();
5555
$this->requestDataLoader->mergeRequestParams();

Controller/Index/Html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct(
4545
) {
4646
}
4747

48-
public function execute(): ResultInterface
48+
public function execute(): ResultInterface|ResponseInterface
4949
{
5050
$data = $this->requestDataLoader->load();
5151
$this->requestDataLoader->mergeRequestParams();

Util/Controller/RepositoryDispatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function __construct(
1717
) {
1818
}
1919

20-
public function dispatch(ComponentInterface $component, $componentData): void
20+
public function dispatch(ComponentInterface $component, mixed $componentData): void
2121
{
2222
$this->eventManager->dispatch('loki_components_repository_dispatch', ['component' => $component]);
2323

0 commit comments

Comments
 (0)