Skip to content

Commit 6fa9f6b

Browse files
committed
Additional code style fixes
1 parent 963ff74 commit 6fa9f6b

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
lines changed

app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Creditmemos.php

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class Creditmemos extends \Magento\Framework\View\Element\Text\ListText implemen
1919
\Magento\Backend\Block\Widget\Tab\TabInterface
2020
{
2121
/**
22-
* @var AuthorizationInterface
23-
*/
22+
* @var AuthorizationInterface
23+
*/
2424
private $authorization;
2525

2626
/**
@@ -40,35 +40,34 @@ public function __construct(
4040
}
4141

4242
/**
43-
* {@inheritdoc}
43+
* @inheritdoc
4444
*/
4545
public function getTabLabel()
4646
{
4747
return __('Credit Memos');
4848
}
4949

5050
/**
51-
* {@inheritdoc}
51+
* @inheritdoc
5252
*/
5353
public function getTabTitle()
5454
{
5555
return __('Order Credit Memos');
5656
}
5757

5858
/**
59-
* {@inheritdoc}
59+
* @inheritdoc
6060
*/
6161
public function canShowTab()
6262
{
6363
return $this->authorization->isAllowed('Magento_Sales::creditmemo');
6464
}
6565

6666
/**
67-
* {@inheritdoc}
67+
* @inheritdoc
6868
*/
6969
public function isHidden()
7070
{
7171
return false;
7272
}
7373
}
74-

app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Invoices.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,31 +40,31 @@ public function __construct(
4040
}
4141

4242
/**
43-
* {@inheritdoc}
43+
* @inheritdoc
4444
*/
4545
public function getTabLabel()
4646
{
4747
return __('Invoices');
4848
}
4949

5050
/**
51-
* {@inheritdoc}
51+
* @inheritdoc
5252
*/
5353
public function getTabTitle()
5454
{
5555
return __('Order Invoices');
5656
}
5757

5858
/**
59-
* {@inheritdoc}
59+
* @inheritdoc
6060
*/
6161
public function canShowTab()
6262
{
6363
return $this->authorization->isAllowed('Magento_Sales::invoice');
6464
}
6565

6666
/**
67-
* {@inheritdoc}
67+
* @inheritdoc
6868
*/
6969
public function isHidden()
7070
{

app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/Shipments.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,31 +59,31 @@ public function getOrder()
5959
}
6060

6161
/**
62-
* {@inheritdoc}
62+
* @inheritdoc
6363
*/
6464
public function getTabLabel()
6565
{
6666
return __('Shipments');
6767
}
6868

6969
/**
70-
* {@inheritdoc}
70+
* @inheritdoc
7171
*/
7272
public function getTabTitle()
7373
{
7474
return __('Order Shipments');
7575
}
7676

7777
/**
78-
* {@inheritdoc}
78+
* @inheritdoc
7979
*/
8080
public function canShowTab()
8181
{
8282
return $this->authorization->isAllowed('Magento_Sales::ship') && !$this->getOrder()->getIsVirtual();
8383
}
8484

8585
/**
86-
* {@inheritdoc}
86+
* @inheritdoc
8787
*/
8888
public function isHidden()
8989
{

0 commit comments

Comments
 (0)