Passed
Push — main ( 35cea8...263c2f )
by Andrey
21:51 queued 20:06
created

Url::getFacadeAccessor()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

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
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
3
namespace Helldar\Support\Facades\Http;
4
5
use Helldar\Support\Facades\Facade;
6
use Helldar\Support\Helpers\Http\Url as Helper;
7
use Psr\Http\Message\UriInterface;
8
9
/**
10
 * @method static \Helldar\Support\Helpers\Http\Builder parse(string|UriInterface|null $url)
11
 * @method static bool exists(string|UriInterface|null $url)
12
 * @method static bool is(string|UriInterface|null $url)
13
 * @method static string validated(string|UriInterface|null $url)
14
 * @method static string|null default(string|UriInterface|null $url, string|UriInterface|null $default)
15
 * @method static void validate(string|UriInterface|null $url)
16
 */
17
class Url extends Facade
18
{
19 148
    protected static function getFacadeAccessor()
20
    {
21 148
        return Helper::class;
22
    }
23
}
24