| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class PageController extends AbstractController |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @Route("/contents", name="ribsadmin_contents") |
||
| 13 | * @return Response |
||
| 14 | */ |
||
| 15 | public function index(): Response |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @Route("/contents/edit-page/{page_id}", name="ribsadmin_contents_edit_page") |
||
| 24 | * @param int $page_id |
||
| 25 | * @return Response |
||
| 26 | */ |
||
| 27 | public function editPage(int $page_id): Response |
||
| 36 |
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.