cast ctime and utime

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/17765/head
Robin Appelman 6 years ago
parent 4c97181128
commit f2724992fc
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
  1. 4
      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'];
}
}

Loading…
Cancel
Save