Skip to content

Commit 8002a47

Browse files
author
Oleksii Korshenko
authored
MAGETWO-87444: Update code formatting in Swagger Block #13485
2 parents 79463a5 + 106c6ec commit 8002a47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Swagger/Block/Index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Index extends Template
1919
*/
2020
private function getParamStore()
2121
{
22-
return ($this->getRequest()->getParam('store')) ? $this->getRequest()->getParam('store') : 'all';
22+
return $this->getRequest()->getParam('store') ?: 'all';
2323
}
2424

2525
/**

app/code/Magento/Swagger/view/frontend/templates/swagger-ui/index.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Modified by Magento, Modifications Copyright © Magento, Inc. All rights reserved.
1313
*/
1414

15-
/** @var \Magento\Framework\View\Element\Template $block */
15+
/** @var \Magento\Swagger\Block\Index $block */
1616

1717
$schemaUrl = $block->getSchemaUrl();
1818
?>

0 commit comments

Comments
 (0)