| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | protected function getMapping() |
||
| 22 | { |
||
| 23 | return [ |
||
| 24 | 46 => DeviceProfile::SIGMA_SPORT_ID_TRI, |
||
| 25 | 44 => DeviceProfile::SIGMA_SPORT_ROX_120_SPORT, |
||
| 26 | 41 => DeviceProfile::SIGMA_SPORT_ROX_110_GPS, |
||
| 27 | 15 => DeviceProfile::SIGMA_SPORT_ROX_100_GPS, |
||
| 28 | ]; |
||
| 29 | /* |
||
| 30 | * Unknown: |
||
| 31 | * 46 |
||
| 32 | */ |
||
| 33 | } |
||
| 34 | |||
| 53 |
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..