Passed
Push — master ( 75cbec...2d5f12 )
by Choquet
01:27
created

index   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 4
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A start() 0 2 1
1
<?php
2
3
/**
4
 * © 2018 - Phoponent
5
 * Author: Nicolas Choquet
6
 * Email: [email protected]
7
 * LICENSE GPL ( GNU General Public License )
8
 */
9
    namespace phoponent;
10
    use phoponent\framework\traits\static_class;
11
    use phoponent\framework\static_classe\xphp;
12
13
    class index {
14
        use static_class;
15
        public static function start($argv) {
16
            return xphp::parse($argv[1]);
17
        }
18
    }