Passed
Push — master ( 732531...70fe6d )
by mazen
02:36
created

S2WConfigFactory::create()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
ccs 2
cts 2
cp 1
crap 1
1
<?php declare(strict_types=1);
2
3
namespace MazenTouati\Simple2wayConfig;
4
5
class S2WConfigFactory
6
{
7 1
    public static function create($directory = '')
8
    {
9 1
        return new S2WConfig($directory);
10
    }
11
}
12