Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 11 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
32 | 57 | protected function _check(ArrayNodeDefinition $node): ArrayNodeDefinition |
|
33 | { |
||
34 | $node = $node |
||
35 | 57 | ->children() |
|
36 | 57 | ->arrayNode('check') |
|
37 | 57 | ->children() |
|
38 | 57 | ->integerNode('warningThreshold')->defaultValue(70)->end() |
|
39 | 57 | ->integerNode('criticalThreshold')->defaultValue(90)->end() |
|
40 | 57 | ->end() |
|
41 | 57 | ->end() |
|
42 | 57 | ->end(); |
|
43 | |||
44 | 57 | $this->_addition($node); |
|
45 | |||
46 | 57 | return $node; |
|
47 | } |
||
49 |