Passed
Pull Request — main (#22)
by Andrey
30:44 queued 13:09
created

Instance::getFacadeAccessor()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Helldar\Support\Facades\Helpers;
4
5
use Helldar\Support\Facades\BaseFacade;
6
use Helldar\Support\Helpers\Instance as Helper;
7
8
/**
9
 * @method static bool exists(object|string $haystack)
10
 * @method static bool of(object|string $haystack, string|string[] $needles)
11
 * @method static mixed call(object|string $object, string $method, $default = null)
12
 * @method static mixed callOf(array $map, $value, $default = null)
13
 * @method static mixed callWhen(object|string $object, string|string[] $methods, $default = null)
14
 * @method static string|null basename(object|string $class)
15
 * @method static string|null classname(object|string $class = null)
16
 */
17
final class Instance extends BaseFacade
18
{
19
    protected static function getFacadeAccessor()
20
    {
21
        return Helper::class;
22
    }
23
}
24