nodrew/OAuth2ServerBundle — comment on commit 344b13d438980d122022546622a4f60865c4c24b
File: Model/OAuth2Token.php line 55
By nodrew:

Because with Doctrine MongoDB, if you use the Date type, like I am, then it returns as a DateTime object.