Skip to content

Commit

Permalink
refactor(FolderManager): Add default rootStorageId 0 for getFolder()
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin committed Oct 8, 2024
1 parent 5d022bb commit de45b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Folder/FolderManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ private function getManageAcl(array $mappings): array {
* @return ?array{id: mixed, mount_point: mixed, groups: array<string, array{displayName: string, type: string, permissions: integer}>, quota: int, size: int, acl: bool}
* @throws Exception
*/
public function getFolder(int $id, int $rootStorageId): ?array {
public function getFolder(int $id, int $rootStorageId = 0): ?array {
$applicableMap = $this->getAllApplicable();

$query = $this->connection->getQueryBuilder();
Expand Down

0 comments on commit de45b72

Please sign in to comment.