1 | <?php |
||
17 | class RendererServiceProvider extends ServiceProvider |
||
18 | { |
||
19 | /** |
||
20 | * @Factory(aliases={RendererInterface::class}) |
||
21 | * @return ChainRenderer |
||
22 | */ |
||
23 | public static function createChainRenderer(ContainerInterface $container, CacheInterface $cache): ChainRenderer |
||
33 | |||
34 | /** |
||
35 | * @Factory(name="customRenderer", tags={@Tag(name="customRenderers")}) |
||
36 | * @return FileBasedRenderer |
||
37 | */ |
||
38 | public static function createCustomRenderer(ContainerInterface $container, CacheInterface $cache, \Twig_Environment $twig): FileBasedRenderer |
||
42 | |||
43 | /** |
||
44 | * @Factory(name="packageRenderers") |
||
45 | * @return \SplPriorityQueue |
||
46 | */ |
||
47 | public static function createPackageRenderers(): \SplPriorityQueue |
||
51 | |||
52 | /** |
||
53 | * @Factory(name="customRenderers") |
||
54 | * @return \SplPriorityQueue |
||
55 | */ |
||
56 | public static function createCustomRenderers(): \SplPriorityQueue |
||
60 | } |
||
61 |
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.