Completed
Push — master ( 64636f...d810db )
by Michael
01:21
created

GarminFenix3HR::getEnum()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 1
b 0
f 1
cc 1
eloc 2
nc 1
nop 0
crap 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
class GarminFenix3HR extends AbstractDevice
15
{
16
    use GarminDeviceTrait;
17
18 1
    public function getEnum()
19
    {
20 1
        return DeviceProfile::GARMIN_FENIX_3_H_R;
21
    }
22
23 2
    public function getName()
24
    {
25 2
        return 'Fenix 3 HR';
26
    }
27
28
    public function hasBarometer()
29
    {
30
        return true;
31
    }
32
}
33