cast ctime and utime
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
4c97181128
commit
f2724992fc
|
@ -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 New Issue