Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 0 |
Lines | 0 |
Ratio | 0 % |
Tests | 1 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
37 | 3 | public function __construct( |
|
38 | /** |
||
39 | * The date format |
||
40 | * |
||
41 | * @var non-empty-string |
||
42 | * @readonly |
||
43 | * |
||
44 | * @see https://www.php.net/manual/en/datetime.createfromformat.php#refsect1-datetime.createfromformat-parameters For the format |
||
45 | */ |
||
46 | private string $format, |
||
47 | ) { |
||
48 | 3 | } |
|
66 |