| Total Complexity | 3 | 
| Total Lines | 40 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 22 | class BanService implements BanServiceContract | ||
| 23 | { | ||
| 24 | /** | ||
| 25 | * Ban entity. | ||
| 26 | * | ||
| 27 | * @param \Cog\Contracts\Ban\Bannable $bannable | ||
| 28 | * @param array $attributes | ||
| 29 | * @return \Cog\Contracts\Ban\Ban | ||
| 30 | */ | ||
| 31 | public function ban(BannableContract $bannable, array $attributes = []): BanContract | ||
| 34 | } | ||
| 35 | |||
| 36 | /** | ||
| 37 | * Unban entity. | ||
| 38 | * | ||
| 39 | * @param \Cog\Contracts\Ban\Bannable $bannable | ||
| 40 | * @return void | ||
| 41 | */ | ||
| 42 | public function unban(BannableContract $bannable): void | ||
| 46 | }); | ||
| 47 | } | ||
| 48 | |||
| 49 | /** | ||
| 50 | * Delete all expired Ban models. | ||
| 51 | * | ||
| 52 | * @return void | ||
| 53 | */ | ||
| 54 | public function deleteExpiredBans(): void | ||
| 65 | 
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.