Skip to content
Snippets Groups Projects
Unverified Commit f2724992 authored by Robin Appelman's avatar Robin Appelman
Browse files

cast ctime and utime


Signed-off-by: default avatarRobin Appelman <robin@icewind.nl>
parent 4c971811
No related branches found
No related tags found
No related merge requests found
......@@ -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'];
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment