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
1 changed files with 2 additions and 2 deletions

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'];
}
}