Skip to content

Commit 1510781

Browse files
committed
Fix static test failures
1 parent 0ad651b commit 1510781

File tree

6 files changed

+11
-5
lines changed

6 files changed

+11
-5
lines changed

app/code/Magento/User/Block/Role.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ protected function _construct()
3636
}
3737

3838
/**
39+
* Get a URL to create a role
40+
*
3941
* @return string
4042
*/
4143
public function getCreateUrl()
@@ -44,6 +46,8 @@ public function getCreateUrl()
4446
}
4547

4648
/**
49+
* Prepare the layout
50+
*
4751
* @return $this
4852
*/
4953
protected function _prepareLayout()

app/code/Magento/User/Block/User/Edit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
class Edit extends \Magento\Backend\Block\Widget\Form\Container
1616
{
1717
/**
18-
* Core registry
19-
*
2018
* @var \Magento\Framework\Registry
2119
*/
2220
protected $_coreRegistry = null;
@@ -120,6 +118,8 @@ public function getObjectId()
120118
}
121119

122120
/**
121+
* Get text to be used in the header
122+
*
123123
* @return \Magento\Framework\Phrase
124124
*/
125125
public function getHeaderText()

app/code/Magento/User/Block/User/Edit/Tabs.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ protected function _construct()
2727
}
2828

2929
/**
30+
* Add tabs to the HTML
31+
*
3032
* @return $this
3133
*/
3234
protected function _beforeToHtml()

app/code/Magento/User/Model/ResourceModel/User/Locked/Collection.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@ protected function _initSelect()
2020
{
2121
parent::_initSelect();
2222
$this->addFieldToFilter('lock_expires', ['notnull' => true]);
23+
24+
return $this;
2325
}
2426
}

app/code/Magento/Variable/Model/ResourceModel/Variable/Collection.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
1212
{
1313
/**
14-
* Store Id
15-
*
1614
* @var int
1715
*/
1816
protected $_storeId = 0;

app/code/Magento/Weee/Block/Item/Price/Renderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
namespace Magento\Weee\Block\Item\Price;
77

88
use Magento\Framework\Pricing\PriceCurrencyInterface;
9-
use Magento\Sales\Model\Order\CreditMemo\Item as CreditMemoItem;
9+
use Magento\Sales\Model\Order\Creditmemo\Item as CreditMemoItem;
1010
use Magento\Sales\Model\Order\Invoice\Item as InvoiceItem;
1111
use Magento\Sales\Model\Order\Item as OrderItem;
1212
use Magento\Weee\Model\Tax as WeeeDisplayConfig;

0 commit comments

Comments
 (0)