cast ctime and utime

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2019-11-13 12:09:13 +01:00
parent 4c97181128
commit f2724992fc
No known key found for this signature in database
GPG key ID: 42B69D8A64526EFB

View file

@ -408,10 +408,10 @@ class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess {
}
public function getCreationTime(): int {
return $this->data['creation_time'];
return (int) $this->data['creation_time'];
}
public function getUploadTime(): int {
return $this->data['upload_time'];
return (int) $this->data['upload_time'];
}
}