DetailTypes::all()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 6
c 1
b 0
f 1
dl 0
loc 8
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
4
namespace Mongi\Mongicommerce\Options;
5
6
7
class DetailTypes
8
{
9
10
    /**
11
     * @return array
12
     */
13
    public static function all()
14
    {
15
        return [
16
            1 => 'checkbox',
17
            2 => 'text',
18
            3 => 'number',
19
            4 => 'textarea',
20
            5 => 'radio',
21
        ];
22
    }
23
24
25
}
26