Skip to content
Snippets Groups Projects
Commit 5accbf55 authored by Morris Jobke's avatar Morris Jobke Committed by GitHub
Browse files

Merge pull request #5744 from 1manprojects/patch-1

Removed cast to integer in getSize
parents a5495b8e 3e5d590f
No related branches found
No related tags found
No related merge requests found
...@@ -193,7 +193,7 @@ class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess { ...@@ -193,7 +193,7 @@ class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess {
*/ */
public function getSize() { public function getSize() {
$this->updateEntryfromSubMounts(); $this->updateEntryfromSubMounts();
return isset($this->data['size']) ? (int) $this->data['size'] : 0; return isset($this->data['size']) ? 0 + $this->data['size'] : 0;
} }
/** /**
......
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