Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2.0932 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
27 | 2 | public function __construct(TransitionSelectorInterface $innerSelector = null, $epsilon = 0.001) |
|
28 | { |
||
29 | 2 | if ($innerSelector) { |
|
30 | $this->innerSelector = $innerSelector; |
||
31 | } else { |
||
32 | 2 | $this->innerSelector = new OneOrNoneActiveTransition(); |
|
33 | } |
||
34 | 2 | $this->epsilon = $epsilon; |
|
35 | 2 | } |
|
36 | |||
60 |