Skip to content

Commit 2ae7c3e

Browse files
committed
fix(files_sharing): remove unnecessary array_values in MountProvider
Signed-off-by: Salvatore Martire <[email protected]>
1 parent ff28ac7 commit 2ae7c3e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

apps/files_sharing/lib/MountProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ private function groupShares(array $shares) {
171171
$result[] = $tmp2;
172172
}
173173

174-
return array_values($result);
174+
return $result;
175175
}
176176

177177
/**

build/psalm-baseline.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1692,9 +1692,6 @@
16921692
<code><![CDATA[new View('/' . $parentShare->getShareOwner() . '/files')]]></code>
16931693
<code><![CDATA[new View('/' . $userId . '/files')]]></code>
16941694
</InternalMethod>
1695-
<RedundantFunctionCall>
1696-
<code><![CDATA[array_values]]></code>
1697-
</RedundantFunctionCall>
16981695
</file>
16991696
<file src="apps/files_sharing/lib/Scanner.php">
17001697
<DeprecatedInterface>

0 commit comments

Comments
 (0)