DetailTypes   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A all() 0 8 1
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