Completed
Branch dev-master (5a9550)
by Derek Stephen
02:00
created

Password   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 8
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 5 1
1
<?php
2
/**
3
 * User: delboy1978uk
4
 * Date: 19/11/2016
5
 * Time: 21:37
6
 */
7
8
namespace Del\Form\Field\Text;
9
10
use Del\Form\Field\Text;
11
12
class Password extends Text
13
{
14 1
    public function init()
15
    {
16 1
        parent::init();
17 1
        $this->setAttribute('type', 'password');
18
    }
19
}