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

HttpBuilder   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\HttpBuilder as Helper;
7
8
/**
9
 * @method static Helper parse(string $url, int $component = -1)
10
 * @method static Helper same()
11
 * @method static Helper setFragment(string|array $value)
12
 * @method static Helper setHost(string $value)
13
 * @method static Helper setPass(string $value)
14
 * @method static Helper setPath(string $value)
15
 * @method static Helper setPort(string $value)
16
 * @method static Helper setQuery(string|array $value)
17
 * @method static Helper setScheme(string $value)
18
 * @method static Helper setUser(string $value)
19
 * @method static string compile()
20
 * @method static string|null getFragment()
21
 * @method static string|null getHost()
22
 * @method static string|null getPass()
23
 * @method static string|null getPath()
24
 * @method static string|null getPort()
25
 * @method static string|null getQuery()
26
 * @method static string|null getScheme()
27
 * @method static string|null getUser()
28
 */
29
final class HttpBuilder extends BaseFacade
30
{
31
    protected static function getFacadeAccessor()
32
    {
33
        return Helper::class;
34
    }
35
}
36