Commit 88d53cc0 authored by Dan Behrman's avatar Dan Behrman Committed by Jens Segers

Fixed "Error parsing [float] as 64-bit integer" in Model::freshTimestamp() (#1115)

parent 1200af46
...@@ -107,7 +107,7 @@ abstract class Model extends BaseModel ...@@ -107,7 +107,7 @@ abstract class Model extends BaseModel
*/ */
public function freshTimestamp() public function freshTimestamp()
{ {
return new UTCDateTime(round(microtime(true) * 1000)); return new UTCDateTime((int) round(microtime(true) * 1000));
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment