Completed
Push — master ( c62883...795ab8 )
by Nicolas
04:44
created

TranslationLoader   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A paths() 0 7 1
1
<?php namespace Modules\Translation\Services;
2
3
class TranslationLoader extends \Illuminate\Translation\FileLoader
4
{
5
    /**
6
     * Get all Paths where Translations could be found.
7
     * @return array
8
     */
9
    public function paths()
10
    {
11
        return array_merge(
12
            [$this->path],
13
            $this->hints
14
        );
15
    }
16
}
17