Passed
Push — main ( 9de461...110add )
by Andrey
01:31
created

Call   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 5
ccs 2
cts 2
cp 1
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 Closure;
6
use Helldar\Support\Facades\BaseFacade;
7
use Helldar\Support\Helpers\Call as Helper;
8
9
/**
10
 * @method static mixed|null run(Closure|callable|string $class, string $method, ...$parameters)
11
 * @method static mixed|null runExists(Closure|callable|string $class, string $method, ...$parameters)
12
 * @method static mixed|null runMethods($class, $methods, ...$parameters)
13
 * @method static mixed|null runOf(array $map, $value, ...$parameters)
14
 * @method static mixed|null when(bool $when, Closure|callable|string $class, string $method, ...$parameters)
15
 */
16
final class Call extends BaseFacade
17
{
18 15
    protected static function getFacadeAccessor()
19
    {
20 15
        return Helper::class;
21
    }
22
}
23