1 | <?php |
||
8 | class CitiesRepositoryEloquent extends EloquentBaseRepository implements CitiesRepository |
||
9 | { |
||
10 | /** |
||
11 | * Get cities by region ID and province ID. |
||
12 | * |
||
13 | * @param int $regionId |
||
14 | * @param int $provinceId |
||
15 | * @return \Illuminate\Database\Eloquent\Collection |
||
16 | */ |
||
17 | public function getByProvinceAndRegion($regionId, $provinceId) |
||
26 | |||
27 | /** |
||
28 | * Get repository model. |
||
29 | * |
||
30 | * @return City |
||
31 | */ |
||
32 | public function getModel() |
||
38 | |||
39 | /** |
||
40 | * Get cities by region. |
||
41 | * |
||
42 | * @param int $regionId |
||
43 | * @return \Illuminate\Database\Eloquent\Collection |
||
44 | */ |
||
45 | public function getByRegion($regionId) |
||
53 | |||
54 | /** |
||
55 | * Get cities by province. |
||
56 | * |
||
57 | * @param int $provinceId |
||
58 | * @return \Illuminate\Database\Eloquent\Collection |
||
59 | */ |
||
60 | public function getByProvince($provinceId) |
||
68 | } |
||
69 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.