Skip to content

Commit

Permalink
Use DateTimeInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigowbazevedo authored and adrilo committed Feb 6, 2022
1 parent 5926207 commit cc42c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Spout/Common/Helper/CellTypeHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public static function isBoolean($value)
public static function isDateTimeOrDateInterval($value)
{
return (
$value instanceof \DateTime ||
$value instanceof \DateTimeInterface ||
$value instanceof \DateInterval
);
}
Expand Down

0 comments on commit cc42c1d

Please sign in to comment.