| 1 | <?php |
||
| 15 | class RoundHandler |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Create a new instance of the MatchHandler |
||
| 19 | * |
||
| 20 | * @param GolfLeague\Storage\Round\RoundRepository $roundRepo |
||
|
|
|||
| 21 | * @return void |
||
| 22 | */ |
||
| 23 | public function __construct(HoleScoreRepository $holescoreRepo) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Create an initial round for each player after a new match is created |
||
| 30 | * |
||
| 31 | * @param Match $match |
||
| 32 | * @return void |
||
| 33 | */ |
||
| 34 | public function handle($round) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Register the listeners for the subscriber. |
||
| 52 | * |
||
| 53 | * @param Illuminate\Events\Dispatcher $events |
||
| 54 | * @return array |
||
| 55 | */ |
||
| 56 | public function subscribe($events) |
||
| 60 | } |
||
| 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.