cast ctime and utime
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
4c97181128
commit
f2724992fc
1 changed files with 2 additions and 2 deletions
|
@ -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'];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue