Passed
Push — main ( 55f929...127e84 )
by Andrey
161:41 queued 158:10
created

Locales   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 5
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
namespace Helldar\LaravelLangPublisher\Facades;
4
5
use Helldar\LaravelLangPublisher\Support\Locales as Support;
6
use Illuminate\Support\Facades\Facade;
7
8
/**
9
 * @method static array available(bool $all = false)
10
 * @method static array installed()
11
 * @method static array protects()
12
 * @method static bool isAvailable(string $locale)
13
 * @method static bool isInstalled(string $locale)
14
 * @method static bool isProtected(string $locale)
15
 * @method static string getDefault()
16
 * @method static string getFallback()
17
 * @method static void validate(string $locale)
18
 */
19
final class Locales extends Facade
20
{
21
    protected static function getFacadeAccessor()
22
    {
23
        return Support::class;
24
    }
25
}
26