| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class TimeEntriesDurationRequest |
||
| 8 | { |
||
| 9 | private $start; |
||
| 10 | private $end; |
||
| 11 | |||
| 12 | public function __construct(string $start, string $end) |
||
| 13 | { |
||
| 14 | $this->start = $start; |
||
| 15 | $this->end = $end; |
||
| 16 | } |
||
| 17 | |||
| 18 | public function start(): string |
||
| 19 | { |
||
| 20 | return $this->start; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function end(): string |
||
| 24 | { |
||
| 25 | return $this->end; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function toArray(): array |
||
| 33 | ]; |
||
| 34 | } |
||
| 35 | } |
||
| 36 |