1 | <?php |
||
11 | class DefaultController |
||
12 | { |
||
13 | /** |
||
14 | * @var ManagerRegistry |
||
15 | */ |
||
16 | protected $doctrine; |
||
17 | |||
18 | /** |
||
19 | * @var Environment |
||
20 | */ |
||
21 | protected $twig; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $entity; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $prefix; |
||
32 | |||
33 | public function __construct(ManagerRegistry $doctrine, Environment $twig, string $entity, string $prefix) |
||
40 | |||
41 | /** |
||
42 | * You must define a final route in your configuration, pointing to this action. |
||
43 | */ |
||
44 | public function showAction(string $path = ''): Response |
||
55 | } |
||
56 |
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.