Use DateTimeInterface

This commit is contained in:
Rodrigo Azevedo committed 2022-02-06 16:23:36 -03:00
1 parent 5926207012
commit 0da8a4c581
1 file changed
+1 -1
+1 -1
View File
@@ -61,7 +61,7 @@ class CellTypeHelper
public static function isDateTimeOrDateInterval($value)
{
return (
$value instanceof \DateTime ||
$value instanceof \DateTimeInterface ||
$value instanceof \DateInterval
);
}