| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class Terms implements TermsInterface |
||
| 12 | { |
||
| 13 | /** @var int|float */ |
||
| 14 | private int|float $one; |
||
| 15 | |||
| 16 | /** @var int|float */ |
||
| 17 | private int|float $two; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Terms constructor. |
||
| 21 | * |
||
| 22 | * @param int|float $one |
||
| 23 | * @param int|float $two |
||
| 24 | */ |
||
| 25 | public function __construct(int|float $one, int|float $two) |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return int|float |
||
| 33 | */ |
||
| 34 | public function termOne(): int|float |
||
| 35 | { |
||
| 36 | return $this->one; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return int|float |
||
| 41 | */ |
||
| 42 | public function termTwo(): int|float |
||
| 45 | } |
||
| 46 | } |
||
| 47 |