aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2023-09-19 21:49:19 -0100
committerMaxence Lange <maxence@artificial-owl.com>2023-09-20 08:23:45 -0100
commitb5dcd048ae85cfe8d7fb22663f1955efbdca7921 (patch)
tree0aba878eec4ee9222e4de538f229be908535cd3c /lib
parentc6c06d517cfe80f1a75c7eff2b66fb9cefea86d9 (diff)
downloadnextcloud-server-b5dcd048ae85cfe8d7fb22663f1955efbdca7921.tar.gz
nextcloud-server-b5dcd048ae85cfe8d7fb22663f1955efbdca7921.zip
small fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/OCM/Model/OCMProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/OCM/Model/OCMProvider.php b/lib/private/OCM/Model/OCMProvider.php
index 40ef43085b3..44f4fbebc10 100644
--- a/lib/private/OCM/Model/OCMProvider.php
+++ b/lib/private/OCM/Model/OCMProvider.php
@@ -196,7 +196,7 @@ class OCMProvider implements IOCMProvider, JsonSerializable {
* }
*/
public function jsonSerialize(): array {
- $resourceTypes = []; // this is needed for psalm
+ $resourceTypes = [];
foreach ($this->getResourceTypes() as $res) {
$resourceTypes[] = $res->jsonSerialize();
}