1 | <?php |
||
21 | class FavoriteController extends ApiController { |
||
22 | |||
23 | private $userId; |
||
24 | private $favoriteMapper; |
||
25 | |||
26 | public function __construct($appName, IRequest $request, FavoriteMapper $favoriteMapper, $userId) { |
||
31 | |||
32 | /** |
||
33 | * @NoAdminRequired |
||
34 | * |
||
35 | * @param $name string |
||
36 | * @param $id int |
||
37 | * @return JSONResponse |
||
38 | */ |
||
39 | public function updateFavorite($name, $id) { |
||
56 | |||
57 | /** |
||
58 | * @NoAdminRequired |
||
59 | * |
||
60 | * @param $lat float |
||
61 | * @param $lng float |
||
62 | * @return JSONResponse |
||
63 | */ |
||
64 | public function addFavorite($lat, $lng, $name = null){ |
||
78 | |||
79 | /** |
||
80 | * @NoAdminRequired |
||
81 | * |
||
82 | * @return JSONResponse |
||
83 | */ |
||
84 | public function getFavorites(){ |
||
88 | |||
89 | /** |
||
90 | * @NoAdminRequired |
||
91 | * |
||
92 | * @param $id int |
||
93 | * @return JSONResponse |
||
94 | */ |
||
95 | public function removeFavorite($id){ |
||
102 | |||
103 | } |
||
104 |
Scrutinizer analyzes your
composer.json
/composer.lock
file if available to determine the classes, and functions that are defined by your dependencies.It seems like the listed class was neither found in your dependencies, nor was it found in the analyzed files in your repository. If you are using some other form of dependency management, you might want to disable this analysis.