Skip to content

Commit 18281bb

Browse files
committed
Fixing static tests
1 parent 67c55ec commit 18281bb

File tree

3 files changed

+17
-2
lines changed
  • app/code/Magento
  • lib/internal/Magento/Framework/Data/Form/Element

3 files changed

+17
-2
lines changed

app/code/Magento/Backend/Block/System/Account/Edit/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function __construct(
6868
}
6969

7070
/**
71-
* {@inheritdoc}
71+
* @inheritdoc
7272
*/
7373
protected function _prepareForm()
7474
{

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
namespace Magento\User\Block\Role\Tab;
77

88
/**
9-
* implementing now
9+
* Info
1010
*
1111
* @SuppressWarnings(PHPMD.DepthOfInheritance)
1212
*/
@@ -18,6 +18,8 @@ class Info extends \Magento\Backend\Block\Widget\Form\Generic implements \Magent
1818
const IDENTITY_VERIFICATION_PASSWORD_FIELD = 'current_password';
1919

2020
/**
21+
* Get tab label
22+
*
2123
* @return \Magento\Framework\Phrase
2224
*/
2325
public function getTabLabel()
@@ -26,6 +28,8 @@ public function getTabLabel()
2628
}
2729

2830
/**
31+
* Get tab title
32+
*
2933
* @return string
3034
*/
3135
public function getTabTitle()
@@ -34,6 +38,8 @@ public function getTabTitle()
3438
}
3539

3640
/**
41+
* Can show tab
42+
*
3743
* @return bool
3844
*/
3945
public function canShowTab()
@@ -42,6 +48,8 @@ public function canShowTab()
4248
}
4349

4450
/**
51+
* Is tab hidden
52+
*
4553
* @return bool
4654
*/
4755
public function isHidden()
@@ -50,6 +58,8 @@ public function isHidden()
5058
}
5159

5260
/**
61+
* Before html rendering
62+
*
5363
* @return $this
5464
*/
5565
public function _beforeToHtml()
@@ -60,6 +70,8 @@ public function _beforeToHtml()
6070
}
6171

6272
/**
73+
* Form initializatiion
74+
*
6375
* @return void
6476
*/
6577
protected function _initForm()

lib/internal/Magento/Framework/Data/Form/Element/Password.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,14 @@ public function __construct(
3838
}
3939

4040
/**
41+
* Get field html
42+
*
4143
* @return mixed
4244
*/
4345
public function getHtml()
4446
{
4547
$this->addClass('input-text admin__control-text');
48+
4649
return parent::getHtml();
4750
}
4851
}

0 commit comments

Comments
 (0)