Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types = 1); |
||
16 | public function getConfigTreeBuilder(): TreeBuilder |
||
17 | { |
||
18 | $treeBuilder = new TreeBuilder('bukashk0zzz_filter'); |
||
19 | |||
20 | $rootNode = \method_exists($treeBuilder, 'getRootNode') |
||
21 | ? $treeBuilder->getRootNode() |
||
22 | : $treeBuilder->root('bukashk0zzz_filter'); |
||
|
|||
23 | |||
24 | $rootNode |
||
25 | ->children() |
||
26 | ->scalarNode('auto_filter_forms')->defaultValue(true)->end(); |
||
27 | |||
28 | return $treeBuilder; |
||
29 | } |
||
31 |
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.