| Total Complexity | 7 | 
| Total Lines | 52 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 21 | class PlanRepository extends AbstractRepository | ||
| 22 | { | ||
| 23 | public function empty() | ||
| 24 |     { | ||
| 25 | $queryBuilder = $this->pdoDB->createQueryBuilder(); | ||
|  | |||
| 26 | $queryBuilder->delete(Plan::TABLE_NAME); | ||
| 27 | $queryBuilder->execute(); | ||
| 28 | } | ||
| 29 | |||
| 30 | /** | ||
| 31 | * @param \ArrayObject|Plan[] $pbPlans | ||
| 32 | * @return bool | ||
| 33 | */ | ||
| 34 | public function insertPlans(\ArrayObject $pbPlans): bool | ||
| 47 | } | ||
| 48 | |||
| 49 | /** | ||
| 50 | * @param int $planId | ||
| 51 | * @return Plan | ||
| 52 | */ | ||
| 53 | public function getLocalPlan(int $planId): Plan | ||
| 54 |     { | ||
| 55 | /** @var Plan $pbPlan */ | ||
| 56 | $pbPlan = $this->findOneBy(['id' => $planId]); | ||
| 57 | return $pbPlan; | ||
| 58 | } | ||
| 59 | |||
| 60 | /** | ||
| 61 | * @return \ArrayObject|Plan[] | ||
| 62 | */ | ||
| 63 | public function getLocalPlans(): \ArrayObject | ||
| 73 | } | ||
| 74 | } | ||
| 75 | 
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.