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.
2 parents 79463a5 + 106c6ec commit 8002a47Copy full SHA for 8002a47
app/code/Magento/Swagger/Block/Index.php
@@ -19,7 +19,7 @@ class Index extends Template
19
*/
20
private function getParamStore()
21
{
22
- return ($this->getRequest()->getParam('store')) ? $this->getRequest()->getParam('store') : 'all';
+ return $this->getRequest()->getParam('store') ?: 'all';
23
}
24
25
/**
app/code/Magento/Swagger/view/frontend/templates/swagger-ui/index.phtml
@@ -12,7 +12,7 @@
12
* Modified by Magento, Modifications Copyright © Magento, Inc. All rights reserved.
13
14
15
-/** @var \Magento\Framework\View\Element\Template $block */
+/** @var \Magento\Swagger\Block\Index $block */
16
17
$schemaUrl = $block->getSchemaUrl();
18
?>
0 commit comments