| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | public function buildConfiguration(NodeBuilder $node) |
||
| 10 | { |
||
| 11 | // @formatter:off |
||
| 12 | $node |
||
| 13 | ->scalarNode('graph_api_version') |
||
| 14 | ->isRequired() |
||
| 15 | ->defaultValue('v2.4') |
||
| 16 | ->end() |
||
| 17 | ->scalarNode('client_class') |
||
| 18 | ->info('If you have a sub-class of OAuth2Client you want to use, add it here') |
||
| 19 | ->defaultValue('Sludio\HelperBundle\Oauth\Client\OAuth2Client') |
||
| 20 | ->end() |
||
| 21 | ->scalarNode('redirect_route') |
||
| 22 | ->isRequired() |
||
| 23 | ->cannotBeEmpty() |
||
| 24 | ->end() |
||
| 25 | ->arrayNode('provider_options') |
||
| 26 | ->info('Other options to pass to your provider\'s constructor') |
||
| 27 | ->prototype('variable')->end() |
||
| 28 | ->end() |
||
| 29 | ; |
||
| 58 |
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.