aboutsummaryrefslogtreecommitdiffstats
path: root/apps/sharebymail/lib
diff options
context:
space:
mode:
authorAdam Serbinski <adam@serbinski.com>2022-05-27 11:42:26 -0400
committerAdam Serbinski <37986043+ASerbinski@users.noreply.github.com>2024-03-21 18:25:31 -0400
commit34ca6bd46ad926e23280d46f1591c60119724875 (patch)
tree10b1f5dd5a973e2d10c622ff20a48b0af1a83cf2 /apps/sharebymail/lib
parent9c528d412c677b686d0776a43ec9567d6639a083 (diff)
downloadnextcloud-server-34ca6bd46ad926e23280d46f1591c60119724875.tar.gz
nextcloud-server-34ca6bd46ad926e23280d46f1591c60119724875.zip
ShareByMailProvider: getAccessList: recommended style changes
Signed-off-by: Adam Serbinski <adam@serbinski.com>
Diffstat (limited to 'apps/sharebymail/lib')
-rw-r--r--apps/sharebymail/lib/ShareByMailProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php
index a8c1174e289..3704de4309f 100644
--- a/apps/sharebymail/lib/ShareByMailProvider.php
+++ b/apps/sharebymail/lib/ShareByMailProvider.php
@@ -1108,7 +1108,7 @@ class ShareByMailProvider implements IShareProvider {
));
$cursor = $qb->executeQuery();
- $mail = array();
+ $mail = [];
while ($row = $cursor->fetch()) {
if ($currentAccess === false) {
$mail[] = $row['share_with'];