Skip to content

Commit 765ff28

Browse files
committed
Merge pull request #253
2 parents 942af4e + 3ba56e6 commit 765ff28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GridFS/WritableStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function __construct(CollectionWrapper $collectionWrapper, $filename, arr
8585
'chunkSize' => $this->chunkSize,
8686
'filename' => (string) $filename,
8787
// TODO: This is necessary until PHPC-536 is implemented
88-
'uploadDate' => new UTCDateTime(floor(microtime(true) * 1000)),
88+
'uploadDate' => new UTCDateTime((int) floor(microtime(true) * 1000)),
8989
] + array_intersect_key($options, ['aliases' => 1, 'contentType' => 1, 'metadata' => 1]);
9090
}
9191

0 commit comments

Comments
 (0)