Skip to content

Commit 0b7121f

Browse files
authored
Allow immutable date times
1 parent 1afb5e3 commit 0b7121f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/Gedmo/SoftDeleteable/Mapping/Validator.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,13 @@ class Validator
2222
*/
2323
public static $validTypes = array(
2424
'date',
25+
'date_immutable',
2526
'time',
27+
'time_immutable',
2628
'datetime',
29+
'datetime_immutable',
2730
'datetimetz',
31+
'datetimetz_immutable',
2832
'timestamp',
2933
'zenddate',
3034
);

0 commit comments

Comments
 (0)