ShareByMailProvider: getAccessList: recommended style changes

Signed-off-by: Adam Serbinski <adam@serbinski.com>
pull/32631/head
Adam Serbinski 2 years ago committed by Adam Serbinski
parent 9c528d412c
commit 34ca6bd46a

@ -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'];

@ -1690,9 +1690,9 @@ class Manager implements IManager {
* ],
* public => bool
* mail => [
* 'email1@maildomain1' => ['node_id' => 42, 'token' => 'aBcDeFg'],
* 'email2@maildomain2' => ['node_id' => 23, 'token' => 'hIjKlMn'],
* ]
* 'email1@maildomain1' => ['node_id' => 42, 'token' => 'aBcDeFg'],
* 'email2@maildomain2' => ['node_id' => 23, 'token' => 'hIjKlMn'],
* ]
* ]
*
* The access list to '/folder1/folder2/fileA' **without** $currentAccess is:

Loading…
Cancel
Save