Skip to content

Commit 1aadf9d

Browse files
#23393: Static test fix.
1 parent 27cebe0 commit 1aadf9d

File tree

1 file changed

+10
-8
lines changed
  • lib/internal/Magento/Framework/Data/Form/Element

1 file changed

+10
-8
lines changed

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

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
namespace Magento\Framework\Data\Form\Element;
8+
9+
use Magento\Framework\Escaper;
10+
711
/**
812
* Form time element
913
*
1014
* @author Magento Core Team <[email protected]>
1115
*/
12-
namespace Magento\Framework\Data\Form\Element;
13-
14-
use Magento\Framework\Escaper;
15-
1616
class Time extends AbstractElement
1717
{
1818
/**
@@ -32,7 +32,7 @@ public function __construct(
3232
}
3333

3434
/**
35-
* @return mixed
35+
* @inheritDoc
3636
*/
3737
public function getName()
3838
{
@@ -44,7 +44,7 @@ public function getName()
4444
}
4545

4646
/**
47-
* @return string
47+
* @inheritDoc
4848
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
4949
* @SuppressWarnings(PHPMD.NPathComplexity)
5050
*/
@@ -76,7 +76,8 @@ public function getElementHtml()
7676
}
7777
$html .= '</select>' . "\n";
7878

79-
$html .= '<span class="time-separator">:&nbsp;</span><select name="' . $this->getName() . '" style="width:80px" '
79+
$html .= '<span class="time-separator">:&nbsp;</span><select name="'
80+
. $this->getName() . '" style="width:80px" '
8081
. $this->serialize($this->getHtmlAttributes())
8182
. $this->_getUiId('minute') . '>' . "\n";
8283
for ($i = 0; $i < 60; $i++) {
@@ -86,7 +87,8 @@ public function getElementHtml()
8687
}
8788
$html .= '</select>' . "\n";
8889

89-
$html .= '<span class="time-separator">:&nbsp;</span><select name="' . $this->getName() . '" style="width:80px" '
90+
$html .= '<span class="time-separator">:&nbsp;</span><select name="'
91+
. $this->getName() . '" style="width:80px" '
9092
. $this->serialize($this->getHtmlAttributes())
9193
. $this->_getUiId('second') . '>' . "\n";
9294
for ($i = 0; $i < 60; $i++) {

0 commit comments

Comments
 (0)