| 1 | <?php |
||
| 6 | class SkinsController extends \BaseController { |
||
|
|
|||
| 7 | |||
| 8 | public function __construct(LeagueStatistics $leagueStatistics) |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Display a listing of the resource. |
||
| 15 | * |
||
| 16 | * @return Response |
||
| 17 | */ |
||
| 18 | public function index() |
||
| 22 | |||
| 23 | |||
| 24 | /** |
||
| 25 | * Display the specified resource. |
||
| 26 | * |
||
| 27 | * @param int $id |
||
| 28 | * @return Response |
||
| 29 | */ |
||
| 30 | public function show($id) |
||
| 37 | |||
| 38 | |||
| 39 | |||
| 40 | } |
||
| 41 |
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.