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

Nip_Form_Element_Tel::init()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 2
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 4
rs 10
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