4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ namespace Magento \Framework \Data \Form \Element ;
8
+
9
+ use Magento \Framework \Escaper ;
10
+
7
11
/**
8
12
* Form time element
9
13
*
10
14
* @author Magento Core Team <[email protected] >
11
15
*/
12
- namespace Magento \Framework \Data \Form \Element ;
13
-
14
- use Magento \Framework \Escaper ;
15
-
16
16
class Time extends AbstractElement
17
17
{
18
18
/**
@@ -32,7 +32,7 @@ public function __construct(
32
32
}
33
33
34
34
/**
35
- * @return mixed
35
+ * @inheritDoc
36
36
*/
37
37
public function getName ()
38
38
{
@@ -44,7 +44,7 @@ public function getName()
44
44
}
45
45
46
46
/**
47
- * @return string
47
+ * @inheritDoc
48
48
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
49
49
* @SuppressWarnings(PHPMD.NPathComplexity)
50
50
*/
@@ -76,7 +76,8 @@ public function getElementHtml()
76
76
}
77
77
$ html .= '</select> ' . "\n" ;
78
78
79
- $ html .= '<span class="time-separator">: </span><select name=" ' . $ this ->getName () . '" style="width:80px" '
79
+ $ html .= '<span class="time-separator">: </span><select name=" '
80
+ . $ this ->getName () . '" style="width:80px" '
80
81
. $ this ->serialize ($ this ->getHtmlAttributes ())
81
82
. $ this ->_getUiId ('minute ' ) . '> ' . "\n" ;
82
83
for ($ i = 0 ; $ i < 60 ; $ i ++) {
@@ -86,7 +87,8 @@ public function getElementHtml()
86
87
}
87
88
$ html .= '</select> ' . "\n" ;
88
89
89
- $ html .= '<span class="time-separator">: </span><select name=" ' . $ this ->getName () . '" style="width:80px" '
90
+ $ html .= '<span class="time-separator">: </span><select name=" '
91
+ . $ this ->getName () . '" style="width:80px" '
90
92
. $ this ->serialize ($ this ->getHtmlAttributes ())
91
93
. $ this ->_getUiId ('second ' ) . '> ' . "\n" ;
92
94
for ($ i = 0 ; $ i < 60 ; $ i ++) {
0 commit comments