| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | public function getByProvinceRegionAndCityId($regionId, $provinceId, $cityId) |
||
| 42 | { |
||
| 43 | $key = "barangays.{$regionId}.{$provinceId}.{$cityId}"; |
||
| 44 | |||
| 45 | return $this->cache->rememberForever($key, function () use ($provinceId, $regionId, $cityId) { |
||
| 46 | return $this->repository->getByProvinceRegionAndCityId($regionId, $provinceId, $cityId); |
||
| 47 | }); |
||
| 48 | } |
||
| 49 | |||
| 63 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..