Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-01-06 18:57:32 +0300
committerCarl Schwan <carl@carlschwan.eu>2022-01-12 22:03:06 +0300
commitaeecb72e96e54439f98822467bb727366207039f (patch)
treeb77aee20add8d099a271131e0b4b0986426e5df1 /lib/private/Files/View.php
parent47c9c34cca22602fb609de6c0e1d32ec17a9e7fe (diff)
Fix a few psalm issues and moved back to psalm/phar 4.18
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'lib/private/Files/View.php')
-rw-r--r--lib/private/Files/View.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php
index f2d91065b9a..72de70a8248 100644
--- a/lib/private/Files/View.php
+++ b/lib/private/Files/View.php
@@ -1407,7 +1407,7 @@ class View {
}
$info = new FileInfo($path, $storage, $internalPath, $data, $mount, $owner);
- if ($data and isset($data['fileid'])) {
+ if (isset($data['fileid'])) {
if ($includeMountPoints and $data['mimetype'] === 'httpd/unix-directory') {
//add the sizes of other mount points to the folder
$extOnly = ($includeMountPoints === 'ext');