Commit 765ff28c authored by Jeremy Mikola's avatar Jeremy Mikola

Merge pull request #253

parents 942af4ed 3ba56e62
......@@ -85,7 +85,7 @@ class WritableStream
'chunkSize' => $this->chunkSize,
'filename' => (string) $filename,
// TODO: This is necessary until PHPC-536 is implemented
'uploadDate' => new UTCDateTime(floor(microtime(true) * 1000)),
'uploadDate' => new UTCDateTime((int) floor(microtime(true) * 1000)),
] + array_intersect_key($options, ['aliases' => 1, 'contentType' => 1, 'metadata' => 1]);
}
......
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