This pull request fixes an issue with the Status Log fieldtype when using storing orders in the database, where the $statusLogEvent['timestamp'] would be cast to a Carbon instance but the StatusLogEvent class requires a timestamp.
This PR fixes that by checking if the timestamp is a Carbon instance and converting its value so it passes the expected value.
This pull request fixes an issue with the Status Log fieldtype when using storing orders in the database, where the
$statusLogEvent['timestamp']
would be cast to aCarbon
instance but theStatusLogEvent
class requires a timestamp.This PR fixes that by checking if the timestamp is a
Carbon
instance and converting its value so it passes the expected value.