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

Password   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
dl 0
loc 6
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace ntentan\honam\engines\php\helpers\form;
4
5
class Password extends Text
6
{
7
    public function __construct(string $label = "", string $name = "", string $description = "")
8
    {
9
        parent::__construct($label, $name, $description);
10
        $this->setAttribute("type", "password");
11
    }
12
}
13