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
Pull Request — master (#15)
by Raed
04:52
created

UrlShortener   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 10
ccs 2
cts 2
cp 1
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 $driver, string $url, array $options = [])
12
 * @method static string shortenUsing(string $driver, string $url, array $options = [])
13
 * @method static \GuzzleHttp\Promise\PromisorInterface shortenAsyncUsing(string $driver, string $url, array $options = [])
14
 *
15
 * @see \LaraCrafts\UrlShortener\Contracts\Shortener
16
 * @see \LaraCrafts\UrlShortener\UrlShortenerManager
17
 */
18
class UrlShortener extends Facade
19
{
20
    /**
21
     * Get the registered name of the component.
22
     *
23
     * @return string
24
     */
25 45
    protected static function getFacadeAccessor()
26
    {
27 45
        return 'url.shortener';
28
    }
29
}
30