Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
21 | 1 | protected function getMapping() |
|
22 | { |
||
23 | return [ |
||
24 | 1 | 801 => DeviceProfile::COROS_PACE, |
|
25 | 802 => DeviceProfile::COROS_PACE_2, |
||
26 | 811 => DeviceProfile::COROS_APEX_42, |
||
27 | 821 => DeviceProfile::COROS_APEX_46, |
||
28 | 831 => DeviceProfile::COROS_VERTIX, |
||
29 | 841 => DeviceProfile::COROS_APEX_PRO, |
||
30 | 899 => DeviceProfile::COROS_UNKNOWN, |
||
31 | ]; |
||
32 | /* |
||
33 | * Unknown: |
||
34 | * 899 |
||
35 | */ |
||
36 | } |
||
37 | |||
56 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..