Passed
Pull Request — main (#123)
by Andrey
42:12 queued 26:54
created

Config   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
/*
4
 * This file is part of the "andrey-helldar/laravel-lang-publisher" project.
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 *
9
 * @author Andrey Helldar <[email protected]>
10
 *
11
 * @copyright 2021 Andrey Helldar
12
 *
13
 * @license MIT
14
 *
15
 * @see https://github.com/andrey-helldar/laravel-lang-publisher
16
 */
17
18
declare(strict_types=1);
19
20
namespace Helldar\LaravelLangPublisher\Facades\Helpers;
21
22
use Helldar\LaravelLangPublisher\Helpers\Config as Helper;
23
use Illuminate\Support\Facades\Facade;
24
25
/**
26
 * @method static array excludes()
27
 * @method static array plugins()
28
 * @method static bool hasAlignment()
29
 * @method static bool hasInline()
30
 * @method static int case()
31
 * @method static string resources()
32
 * @method static string vendor()
33
 */
34
class Config extends Facade
35
{
36
    protected static function getFacadeAccessor()
37
    {
38
        return Helper::class;
39
    }
40
}
41