summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2019-11-13 12:09:13 +0100
committerRobin Appelman <robin@icewind.nl>2019-11-13 12:39:56 +0100
commitf2724992fcb236b211f6e72aa7b3ac0dec5a7f3b (patch)
treed021d71a0e8146e3680f9c061eda115b30c0a63b
parent4c971811282564d57a5343a03548e729e1942b57 (diff)
downloadnextcloud-server-f2724992fcb236b211f6e72aa7b3ac0dec5a7f3b.tar.gz
nextcloud-server-f2724992fcb236b211f6e72aa7b3ac0dec5a7f3b.zip
cast ctime and utime
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r--lib/private/Files/FileInfo.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/FileInfo.php b/lib/private/Files/FileInfo.php
index ff6ab61270e..93f876db17b 100644
--- a/lib/private/Files/FileInfo.php
+++ b/lib/private/Files/FileInfo.php
@@ -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'];
}
}