@@ -412,7 +412,7 @@ discard block |
||
| 412 | 412 | |
| 413 | 413 | return array_filter( |
| 414 | 414 | array_map( |
| 415 | - function (ShareWrapper $wrapper) { |
|
| 415 | + function(ShareWrapper $wrapper) { |
|
| 416 | 416 | return $wrapper->getShare($this->rootFolder, $this->userManager, $this->urlGenerator); |
| 417 | 417 | }, $wrappedShares |
| 418 | 418 | ) |
@@ -464,7 +464,7 @@ discard block |
||
| 464 | 464 | |
| 465 | 465 | return array_filter( |
| 466 | 466 | array_map( |
| 467 | - function (ShareWrapper $wrapper) { |
|
| 467 | + function(ShareWrapper $wrapper) { |
|
| 468 | 468 | return $wrapper->getShare($this->rootFolder, $this->userManager, $this->urlGenerator); |
| 469 | 469 | }, $wrappedShares |
| 470 | 470 | ) |
@@ -513,7 +513,7 @@ discard block |
||
| 513 | 513 | |
| 514 | 514 | return array_filter( |
| 515 | 515 | array_map( |
| 516 | - function (ShareWrapper $wrapper) { |
|
| 516 | + function(ShareWrapper $wrapper) { |
|
| 517 | 517 | return $wrapper->getShare( |
| 518 | 518 | $this->rootFolder, $this->userManager, $this->urlGenerator, true |
| 519 | 519 | ); |
@@ -544,7 +544,7 @@ discard block |
||
| 544 | 544 | |
| 545 | 545 | $share = $wrappedShare->getShare($this->rootFolder, $this->userManager, $this->urlGenerator); |
| 546 | 546 | if ($share->getPassword() !== '') { |
| 547 | - $this->logger->notice('share is protected by a password, hash: ' . $share->getPassword()); |
|
| 547 | + $this->logger->notice('share is protected by a password, hash: '.$share->getPassword()); |
|
| 548 | 548 | } |
| 549 | 549 | |
| 550 | 550 | return $share; |
@@ -654,7 +654,7 @@ discard block |
||
| 654 | 654 | ]; |
| 655 | 655 | } else { |
| 656 | 656 | // we only store temp value, as token is unknown at this point |
| 657 | - $remote[$member->getUserid() . '@' . $member->getInstance()] = [ |
|
| 657 | + $remote[$member->getUserid().'@'.$member->getInstance()] = [ |
|
| 658 | 658 | 'node_id' => $share->getFileSource(), |
| 659 | 659 | 'shareId' => $share->getId(), |
| 660 | 660 | 'memberId' => $member->getId(), |
@@ -760,7 +760,7 @@ discard block |
||
| 760 | 760 | public function getChildren(IShare $parent): array { |
| 761 | 761 | return array_filter( |
| 762 | 762 | array_map( |
| 763 | - function (ShareWrapper $wrapper) { |
|
| 763 | + function(ShareWrapper $wrapper) { |
|
| 764 | 764 | return $wrapper->getShare($this->rootFolder, $this->userManager, $this->urlGenerator); |
| 765 | 765 | }, $this->shareWrapperService->getChildren($parent) |
| 766 | 766 | ) |