| 1 | <?php |
||
| 14 | class FitMapping |
||
| 15 | { |
||
| 16 | public static function guessDevice($manufactorId, $productId) |
||
| 34 | |||
| 35 | public function getGarminDevice($productId) |
||
| 41 | |||
| 42 | public function getCorosDevice($productId) |
||
| 48 | |||
| 49 | public function getSuuntoDevice($productId) |
||
| 55 | |||
| 56 | public function getWahooDevice($productId) |
||
| 62 | } |
||
| 63 |
The break statement is not necessary if it is preceded for example by a return statement:
If you would like to keep this construct to be consistent with other case statements, you can safely mark this issue as a false-positive.