| 1 | <?php namespace GolfLeague\Services; |
||
| 10 | class MatchRoundService |
||
| 11 | { |
||
| 12 | // Containing our pokemonRepository to make all our database calls to |
||
| 13 | protected $matchRepo; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Loads our $matchRepo |
||
| 17 | * |
||
| 18 | * @param MatchRepository $matchRepo |
||
|
|
|||
| 19 | * @return MatchService |
||
| 20 | */ |
||
| 21 | public function __construct(MatchRoundRepository $matchRoundRepo, RoundRepository $roundRepo, MatchRepository $match) |
||
| 27 | |||
| 28 | public function all() |
||
| 32 | /** |
||
| 33 | * Method to get match data from input Match id |
||
| 34 | * |
||
| 35 | * @param mixed $matchdata |
||
| 36 | * @return JSON object |
||
| 37 | */ |
||
| 38 | public function getByMatch($matchId) |
||
| 42 | |||
| 43 | public function getByMatchAndGroup($matchdata) |
||
| 49 | } |
||
| 50 |
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.