| 1 | <?php |
||
| 5 | class PlayerStatisticsController extends \BaseController { |
||
|
|
|||
| 6 | |||
| 7 | public function __construct(PlayerStatistics $playerStatistics) |
||
| 11 | |||
| 12 | public function scoringAverage($playerId) |
||
| 16 | |||
| 17 | public function scoringAverageByYear($playerId, $year) |
||
| 21 | |||
| 22 | public function birdiesByYear($playerId, $year) |
||
| 26 | } |
||
| 27 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.