| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace GolfLeague\Services; |
||
| 32 | public function totalMatchMoney($matchId) |
||
| 33 | { |
||
| 34 | //get player id and money for ctp |
||
| 35 | $results['ctps'] = Ctp::with('player')->where('match_id', '=', $matchId)->get(); |
||
| 36 | $results['skins'] = Skin::with('player', 'hole')->where('match_id', '=', $matchId)->get(); |
||
| 37 | $results['netwinner'] = Netwinner::with('player')->where('match_id', '=', $matchId)->get(); |
||
| 38 | $results['grosswinner'] = Grosswinner::with('player')->where('match_id', '=', $matchId)->get(); |
||
| 39 | $results['moneylist'] = Match::with('players')->where('id', '=', $matchId)->get(); |
||
| 40 | return $results; |
||
| 41 | } |
||
| 42 | } |
||
| 43 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italyis not defined by the methodfinale(...).The most likely cause is that the parameter was removed, but the annotation was not.