Skip to content

Commit

Permalink
Fixing static tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eduard13 committed Dec 7, 2019
1 parent 67c55ec commit 18281bb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function __construct(
}

/**
* {@inheritdoc}
* @inheritdoc
*/
protected function _prepareForm()
{
Expand Down
14 changes: 13 additions & 1 deletion app/code/Magento/User/Block/Role/Tab/Info.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
namespace Magento\User\Block\Role\Tab;

/**
* implementing now
* Info
*
* @SuppressWarnings(PHPMD.DepthOfInheritance)
*/
Expand All @@ -18,6 +18,8 @@ class Info extends \Magento\Backend\Block\Widget\Form\Generic implements \Magent
const IDENTITY_VERIFICATION_PASSWORD_FIELD = 'current_password';

/**
* Get tab label
*
* @return \Magento\Framework\Phrase
*/
public function getTabLabel()
Expand All @@ -26,6 +28,8 @@ public function getTabLabel()
}

/**
* Get tab title
*
* @return string
*/
public function getTabTitle()
Expand All @@ -34,6 +38,8 @@ public function getTabTitle()
}

/**
* Can show tab
*
* @return bool
*/
public function canShowTab()
Expand All @@ -42,6 +48,8 @@ public function canShowTab()
}

/**
* Is tab hidden
*
* @return bool
*/
public function isHidden()
Expand All @@ -50,6 +58,8 @@ public function isHidden()
}

/**
* Before html rendering
*
* @return $this
*/
public function _beforeToHtml()
Expand All @@ -60,6 +70,8 @@ public function _beforeToHtml()
}

/**
* Form initializatiion
*
* @return void
*/
protected function _initForm()
Expand Down
3 changes: 3 additions & 0 deletions lib/internal/Magento/Framework/Data/Form/Element/Password.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,14 @@ public function __construct(
}

/**
* Get field html
*
* @return mixed
*/
public function getHtml()
{
$this->addClass('input-text admin__control-text');

return parent::getHtml();
}
}

0 comments on commit 18281bb

Please sign in to comment.