| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function handle($round) |
||
| 35 | { |
||
| 36 | $holes = Hole::where('course_id', '=', $round['course_id'])->get(); |
||
| 37 | foreach($holes as $hole){ |
||
| 38 | $input = array( |
||
| 39 | 'score' => null, |
||
| 40 | 'hole_id' => $hole->id, |
||
| 41 | 'round_id' => $round['id'] |
||
| 42 | ); |
||
| 43 | $this->holescoreRepo->create($input); |
||
| 44 | } |
||
| 45 | |||
| 46 | |||
| 47 | |||
| 48 | } |
||
| 49 | |||
| 61 |
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.