Passed
Pull Request — master (#64)
by Eddie
11:15
created

OpenBeautyFacts   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
namespace OpenFoodFacts\Laravel\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * @method static array barcode(string $value)
9
 * @method static \Illuminate\Support\Collection find(string $searchTerm)
10
 * @method static \OpenFoodFacts\Document getProduct(string $barcode)
11
 *
12
 * @see \OpenFoodFacts\Laravel\OpenFoodFacts
13
 */
14
class OpenBeautyFacts extends Facade
15
{
16
    protected static function getFacadeAccessor()
17
    {
18
        return 'openbeautyfacts';
19
    }
20
}
21