Completed
Push — master ( 6d7f70...76d437 )
by Michael
19s
created

IgpsportDeviceTrait   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getDistributorEnum() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the Runalyze Device List.
5
 *
6
 * (c) RUNALYZE <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Runalyze\Devices\Device;
13
14
use Runalyze\Devices\Distributor\DistributorProfile;
15
16
trait IgpsportDeviceTrait
17
{
18 1
    public function getDistributorEnum()
19
    {
20 1
        return DistributorProfile::IGPSPORT;
21
    }
22
}
23