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

TranslationLoader::paths()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 7
rs 9.4286
cc 1
eloc 4
nc 1
nop 0
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