| 1 | <?php |
||
| 7 | class CachingRegionsRepository extends RegionsRepositoryEloquent implements RegionsRepository |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var RegionsRepository |
||
| 11 | */ |
||
| 12 | protected $repository; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var Cache |
||
| 16 | */ |
||
| 17 | protected $cache; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * CachingRegionsRepository constructor. |
||
| 21 | * |
||
| 22 | * @param RegionsRepository $repository |
||
| 23 | * @param Cache $cache |
||
| 24 | */ |
||
| 25 | public function __construct(RegionsRepository $repository, Cache $cache) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get all records. |
||
| 36 | * |
||
| 37 | * @return \Illuminate\Database\Eloquent\Collection |
||
| 38 | */ |
||
| 39 | public function all() |
||
| 45 | } |
||
| 46 |
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.