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