Passed
Pull Request — main (#22)
by Andrey
14:26
created

Instance   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\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 callsWhenNotEmpty(object|string $object, string|string[] $methods, $default = null)
14
 * @method static string 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