Passed
Push — master ( ca30a2...06e0f3 )
by Caen
03:05 queued 12s
created

Asset   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 6
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
namespace Hyde\Framework\Helpers;
4
5
use Hyde\Framework\Services\AssetService;
6
use Illuminate\Support\Facades\Facade;
7
8
/**
9
 * @see \Hyde\Framework\Services\AssetService
10
 *
11
 * @method static string version()
12
 * @method static string stylePath()
13
 * @method static string constructCdnPath(string $file)
14
 * @method static string cdnLink(string $file)
15
 * @method static bool hasMediaFile(string $file)
16
 */
17
class Asset extends Facade
18
{
19
    /** @psalm-return AssetService::class */
20
    protected static function getFacadeAccessor(): string
21
    {
22
        return AssetService::class;
23
    }
24
}
25