Passed
Push — master ( 1fc431...3f6a60 )
by Caen
12:47 queued 14s
created

FileCollection::getFacadeRoot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Hyde\Foundation\Facades;
6
7
use Hyde\Foundation\HydeKernel;
8
use Illuminate\Support\Facades\Facade;
9
10
/**
11
 * @mixin \Hyde\Foundation\FileCollection
12
 */
13
class FileCollection extends Facade
14
{
15
    public static function getFacadeRoot(): \Hyde\Foundation\FileCollection
16
    {
17
        return HydeKernel::getInstance()->files();
18
    }
19
}
20