summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-08-01 15:07:53 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-08-01 15:07:53 +0200
commitcb271b759e27c4c26c0e60b7503350682aca33eb (patch)
tree8abf40b337b3f195a8bee32e02851a1e430c8c0a /apps/dav/lib
parentf74e89bde5892a68500eeea3fa98a511b1d7f7e9 (diff)
downloadnextcloud-server-cb271b759e27c4c26c0e60b7503350682aca33eb.tar.gz
nextcloud-server-cb271b759e27c4c26c0e60b7503350682aca33eb.zip
Fix dynamic property creations in test files
This fixes warnings in PHP 8.2 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/dav/lib')
-rw-r--r--apps/dav/lib/DAV/Sharing/Backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/DAV/Sharing/Backend.php b/apps/dav/lib/DAV/Sharing/Backend.php
index 92971992c20..90d2c7ebf82 100644
--- a/apps/dav/lib/DAV/Sharing/Backend.php
+++ b/apps/dav/lib/DAV/Sharing/Backend.php
@@ -179,7 +179,7 @@ class Backend {
while ($row = $result->fetch()) {
$p = $this->principalBackend->getPrincipalByPath($row['principaluri']);
$shares[] = [
- 'href' => "principal:${row['principaluri']}",
+ 'href' => "principal:{$row['principaluri']}",
'commonName' => isset($p['{DAV:}displayname']) ? (string)$p['{DAV:}displayname'] : '',
'status' => 1,
'readOnly' => (int) $row['access'] === self::ACCESS_READ,