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

LaravelFileRepository   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 10
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 2

1 Method

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