| Total Complexity | 1 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 4 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 20 | class YoungerThan extends AbstractDateTimeComparator |
||
| 21 | { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Holds whether to parse the parameters as \DateTimes so the child class |
||
| 25 | * can decide. |
||
| 26 | */ |
||
| 27 | protected $dateTimeParameters = false; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Holds the type of the validator. |
||
| 31 | */ |
||
| 32 | protected $type = 'youngerThan'; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | 1 | protected function isValidComparison(\DateTime $date, array $datetimes, array $parameters) |
|
| 45 |