diff options
author | 1 Man Projects <reed@1manprojects.de> | 2017-07-17 15:19:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-17 15:19:04 +0200 |
commit | 3e5d590f1e40dcccaf0167a37ba7bb1afff1bfe9 (patch) | |
tree | 140ba0e968100b28c3923cfefda3982ca1fc7048 /lib/private/Files | |
parent | 56c0384044b85d15761be8937f36c85e19307b5a (diff) | |
download | nextcloud-server-3e5d590f1e40dcccaf0167a37ba7bb1afff1bfe9.tar.gz nextcloud-server-3e5d590f1e40dcccaf0167a37ba7bb1afff1bfe9.zip |
changed direct cast to integer to numerical value
Diffstat (limited to 'lib/private/Files')
-rw-r--r-- | lib/private/Files/FileInfo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/FileInfo.php b/lib/private/Files/FileInfo.php index 1b1b76deda2..f5a44ba02ea 100644 --- a/lib/private/Files/FileInfo.php +++ b/lib/private/Files/FileInfo.php @@ -193,7 +193,7 @@ class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess { */ public function getSize() { $this->updateEntryfromSubMounts(); - return isset($this->data['size']) ? $this->data['size'] : 0; + return isset($this->data['size']) ? 0 + $this->data['size'] : 0; } /** |