Completed
Push — master ( 3e5a13...3a93f1 )
by Askupa
01:55
created

AddField::default_model()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 5
nc 1
nop 0
dl 0
loc 8
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
namespace Amarkal\Taxonomy;
4
5
class AddField
6
extends \Amarkal\UI\AbstractComponent
0 ignored issues
show
Coding Style introduced by
The extends keyword must be on the same line as the class name
Loading history...
7
{
8
    public function default_model() 
9
    {
10
        return array(
11
            'type'          => '',
12
            'label'         => '',
13
            'description'   => ''
14
        );
15
    }
16
    
17
    public function get_script_path() 
18
    {
19
        return __DIR__.'/add-field.phtml';
20
    }
21
}