@@ -30,9 +30,9 @@ |
||
30 | 30 | namespace OCA\FullTextSearch_ElasticSearch\Service; |
31 | 31 | |
32 | 32 | interface IUserStoragesService { |
33 | - /** |
|
34 | - * Returns an array of strings with all external mountpoints of the current user |
|
35 | - * @return array |
|
36 | - */ |
|
37 | - function getAllStoragesForUser(); |
|
33 | + /** |
|
34 | + * Returns an array of strings with all external mountpoints of the current user |
|
35 | + * @return array |
|
36 | + */ |
|
37 | + function getAllStoragesForUser(); |
|
38 | 38 | } |
39 | 39 | \ No newline at end of file |
@@ -36,19 +36,19 @@ discard block |
||
36 | 36 | */ |
37 | 37 | class UserStoragesService implements IUserStoragesService { |
38 | 38 | |
39 | - /** @var UserGlobalStoragesService */ |
|
40 | - private $userGlobalStoragesService; |
|
39 | + /** @var UserGlobalStoragesService */ |
|
40 | + private $userGlobalStoragesService; |
|
41 | 41 | |
42 | - public function __construct(UserGlobalStoragesService $userGlobalStoragesService) { |
|
43 | - $this->userGlobalStoragesService = $userGlobalStoragesService; |
|
44 | - } |
|
42 | + public function __construct(UserGlobalStoragesService $userGlobalStoragesService) { |
|
43 | + $this->userGlobalStoragesService = $userGlobalStoragesService; |
|
44 | + } |
|
45 | 45 | |
46 | 46 | /** |
47 | - * Returns an array of strings with all external mountpoints of the current user |
|
48 | - * @return array |
|
49 | - */ |
|
50 | - public function getAllStoragesForUser() { |
|
51 | - $userStorages = $this->userGlobalStoragesService->getAllStoragesForUser(); |
|
47 | + * Returns an array of strings with all external mountpoints of the current user |
|
48 | + * @return array |
|
49 | + */ |
|
50 | + public function getAllStoragesForUser() { |
|
51 | + $userStorages = $this->userGlobalStoragesService->getAllStoragesForUser(); |
|
52 | 52 | $mountPoints = []; |
53 | 53 | foreach($userStorages as $userStorage){ |
54 | 54 | /** @var $userStorage OCA\Files_External\Lib\StorageConfig */ |
@@ -62,5 +62,5 @@ discard block |
||
62 | 62 | $mountPoints[] = $mountPoint; |
63 | 63 | } |
64 | 64 | return $mountPoints; |
65 | - } |
|
65 | + } |
|
66 | 66 | } |
67 | 67 | \ No newline at end of file |