Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
44 | protected function continueConfiguration(NodeDefinition $node) |
||
45 | { |
||
46 | parent::continueConfiguration($node); |
||
47 | $node |
||
48 | ->validate() |
||
49 | ->ifTrue(function ($config) { |
||
50 | return true === $config['enabled']; |
||
51 | }) |
||
52 | ->thenInvalid('The grant type "none" is not fully implemented. Please disable it.') |
||
53 | ->end(); |
||
54 | } |
||
55 | } |
||
56 |