We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 103bc27 commit 270c1b6Copy full SHA for 270c1b6
app/code/Magento/Ui/Controller/Index/Render.php
@@ -88,7 +88,6 @@ public function __construct(
88
89
/**
90
* @inheritdoc
91
- * phpstan:ignore "Method Magento\Ui\Controller\Index\Render::execute() should return *"
92
*/
93
public function execute()
94
{
@@ -106,6 +105,8 @@ public function execute()
106
105
107
$contentType = $this->contentTypeResolver->resolve($component->getContext());
108
$this->getResponse()->setHeader('Content-Type', $contentType, true);
+
109
+ return;
110
} else {
111
/** @var \Magento\Framework\Controller\Result\Json $resultJson */
112
$resultJson = $this->resultJsonFactory->create();
0 commit comments