GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 2499fd...af6026 )
by Choraimy
08:41
created

UrlShortener   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 10
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
namespace LaraCrafts\UrlShortener\Support\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * @method static \LaraCrafts\UrlShortener\Contracts\Shortener driver(string $driver = null)
9
 * @method static void extend(string $driver, \Closure $callback)
10
 * @method static string shorten(string $url, array $options = [])
11
 * @method static \GuzzleHttp\Promise\PromisorInterface shortenAsync(string $url, array $options = [])
12
 *
13
 * @see \LaraCrafts\UrlShortener\Contracts\Shortener
14
 * @see \LaraCrafts\UrlShortener\UrlShortenerManager
15
 */
16
class UrlShortener extends Facade
17
{
18
    /**
19
     * Get the registered name of the component.
20
     *
21
     * @return string
22
     */
23
    protected static function getFacadeAccessor()
24
    {
25
        return 'url.shortener';
26
    }
27
}
28