Imgur   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 10
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
namespace Luilliarcec\LaravelImgur\Facades;
4
5
use Illuminate\Http\UploadedFile;
6
use Illuminate\Support\Facades\Facade;
7
use Luilliarcec\LaravelImgur\Exceptions\InvalidArgumentException;
8
use Luilliarcec\LaravelImgur\Support\LaravelImgur;
9
10
/**
11
 * @method static void setHeaders(array $headers)
12
 * @method static void setBody(array $headers)
13
 * @method static LaravelImgur|InvalidArgumentException upload(string|UploadedFile $image)
14
 * @method static bool remove(string $hash)
15
 * @method static string|InvalidArgumentException thumbnails(string $url, string $size)
16
 * @method static mixed getResponse()
17
 * @method static mixed getId()
18
 * @method static mixed getLink()
19
 * @method static mixed getDeletehash()
20
 * @method static mixed getType()
21
 * @method static mixed getSize()
22
 * @method static mixed getWidth()
23
 * @method static mixed getHeight()
24
 * @method static mixed getName()
25
 * @see LaravelImgur
26
 */
27
class Imgur extends Facade
28
{
29
    /**
30
     * Get the registered name of the component.
31
     *
32
     * @return string
33
     */
34
    protected static function getFacadeAccessor()
35
    {
36
        return 'LaravelImgur';
37
    }
38
}
39