Skip to content

Commit 857654d

Browse files
authored
Merge pull request #1828 from TNAJanssen/patch-1
Allow immutable date times
2 parents 1afb5e3 + 0b7121f commit 857654d

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)