| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 7 | class LuckyNumber |
||
| 8 | { |
||
| 9 | private float $value; |
||
| 10 | |||
| 11 | private SeedPair $seedPair; |
||
| 12 | |||
| 13 | public function __construct(float $value, SeedPair $seedPair) |
||
| 14 | { |
||
| 15 | $this->value = $value; |
||
| 16 | $this->seedPair = $seedPair; |
||
| 17 | } |
||
| 18 | |||
| 19 | public function getValue(): float |
||
| 20 | { |
||
| 21 | return $this->value; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function getSeedPair(): SeedPair |
||
| 25 | { |
||
| 26 | return $this->seedPair; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function __toString(): string |
||
| 32 | } |
||
| 33 | } |
||
| 34 |