| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 6 | class IsSameIgnoringMillis extends DateFormatComparator |
||
| 7 | { |
||
| 8 | 7 | public function __construct(\DateTimeInterface $date) |
|
| 9 | { |
||
| 10 | 7 | parent::__construct($date, 'Y-m-d H:i:s'); |
|
| 11 | 7 | } |
|
| 12 | |||
| 13 | 1 | public function toString(): string |
|
| 18 | ); |
||
| 19 | } |
||
| 20 | |||
| 21 | 1 | protected function failureDescription($other): string |
|
| 24 | } |
||
| 25 | } |
||
| 26 |