Passed
Branch main (e68017)
by James Ekow Abaka
10:11
created

Date::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 3
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
namespace ntentan\honam\engines\php\helpers\form;
3
4
class Date extends Text
5
{
6
    public function __construct($label="",$name="",$description="")
7
    {
8
        parent::__construct($label,$name,$description);
9
    	$this->setAttribute('type', 'date');
10
    }
11
}
12
13