Building upon the work done in https://github.com/paragonie/paseto/pull/64 this accepts DateTimeInterface in all methods that previously accepted DateTime, so that DateTimeImmutable can now be used.
None of the methods perform any manipulation on the incoming date object so this should be safe.
Building upon the work done in https://github.com/paragonie/paseto/pull/64 this accepts
DateTimeInterface
in all methods that previously acceptedDateTime
, so thatDateTimeImmutable
can now be used. None of the methods perform any manipulation on the incoming date object so this should be safe.