OpenPetFoodFacts   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
c 2
b 0
f 0
dl 0
loc 10
ccs 0
cts 2
cp 0
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<int, array> find(string $searchTerm)
10
 * @method static \OpenFoodFacts\Document getProduct(string $barcode)
11
 *
12
 * @see \OpenFoodFacts\Laravel\OpenFoodFacts
13
 */
14
class OpenPetFoodFacts extends Facade
15
{
16
    /**
17
     * Get the registered name of the component.
18
     *
19
     * @return string
20
     */
21
    protected static function getFacadeAccessor()
22
    {
23
        return 'openpetfoodfacts';
24
    }
25
}
26