ShareByMailProvider: getAccessList: recommended style changes

Signed-off-by: Adam Serbinski <adam@serbinski.com>
This commit is contained in:
Adam Serbinski 2022-05-27 11:42:26 -04:00 committed by Adam Serbinski
parent 9c528d412c
commit 34ca6bd46a
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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: