Passed
Pull Request — main (#22)
by Andrey
28:59 queued 16:23
created

Http   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\Http as Helper;
7
8
/**
9
 * @method static bool exists(?string $url)
10
 * @method static bool isUrl(?string $url)
11
 * @method static string domain(?string $url)
12
 * @method static string host(?string $url)
13
 * @method static string scheme(?string $url)
14
 * @method static string|null image(string $url, string $default = null)
15
 * @method static string|null subdomain(?string $url)
16
 * @method static void validateUrl(?string $url)
17
 */
18
final class Http extends BaseFacade
19
{
20
    protected static function getFacadeAccessor()
21
    {
22
        return Helper::class;
23
    }
24
}
25