nixilla /
api-logger-bundle
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Nixilla\Api\LoggerBundle\DependencyInjection; |
||
| 4 | |||
| 5 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
||
| 6 | use Symfony\Component\Config\Definition\ConfigurationInterface; |
||
| 7 | |||
| 8 | class Configuration implements ConfigurationInterface |
||
| 9 | { |
||
| 10 | 1 | public function getConfigTreeBuilder() |
|
| 11 | { |
||
| 12 | 1 | $treeBuilder = new TreeBuilder('nixilla_api_logger'); |
|
| 13 | |||
| 14 | 1 | if ( ! method_exists($treeBuilder, 'getRootNode')) { |
|
| 15 | $treeBuilder->root('nixilla_api_logger'); |
||
|
0 ignored issues
–
show
|
|||
| 16 | } |
||
| 17 | |||
| 18 | 1 | return $treeBuilder; |
|
| 19 | } |
||
| 20 | } |
||
| 21 |
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.