Skip to content
This repository was archived by the owner on May 26, 2022. It is now read-only.

Commit cc42c1d

Browse files
rodrigowbazevedoadrilo
authored andcommitted
Use DateTimeInterface
1 parent 5926207 commit cc42c1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Spout/Common/Helper/CellTypeHelper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static function isBoolean($value)
6161
public static function isDateTimeOrDateInterval($value)
6262
{
6363
return (
64-
$value instanceof \DateTime ||
64+
$value instanceof \DateTimeInterface ||
6565
$value instanceof \DateInterval
6666
);
6767
}

0 commit comments

Comments
 (0)