Completed
Push — master ( 6e27f1...d5fec2 )
by Nicolas
03:36
created

LaravelFileRepository::createModule()   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
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Nwidart\Modules\Laravel;
4
5
use Nwidart\Modules\FileRepository;
6
7
class LaravelFileRepository extends FileRepository
8
{
9
    /**
10
     * {@inheritdoc}
11
     */
12 105
    protected function createModule(...$args)
13
    {
14 105
        return new Module(...$args);
15
    }
16
}
17