mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
changed direct cast to integer to numerical value
This commit is contained in:
parent
56c0384044
commit
3e5d590f1e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue