Passed
Push — master ( 8f42f6...c76052 )
by Gabriel
10:58
created

Nip_Form_Element_Tel   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 4 1
1
<?php
2
3
class Nip_Form_Element_Tel extends Nip_Form_Element_Input
4
{
5
    protected $_type = 'tel';
6
7
    public function init()
8
    {
9
        parent::init();
10
        $this->setAttrib('type', 'tel');
11
    }
12
}
13