Conditions | 3 |
Paths | 4 |
Total Lines | 5 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | public function __construct(NumberInterface|ComponentInterface $left, NumberInterface|ComponentInterface $right) |
||
17 | { |
||
18 | |||
19 | $this->left = ($left instanceof NumberInterface ? $left->getValue() : $left->getOutput()); |
||
|
|||
20 | $this->right = ($right instanceof NumberInterface ? $right->getValue() : $right->getOutput()); |
||
21 | |||
28 | } |