@@ -424,8 +424,8 @@ |
||
424 | 424 | ]; |
425 | 425 | |
426 | 426 | $node->getFilesystem()->getDatabase()->delta->updateMany([ |
427 | - 'node' => [ |
|
428 | - '$in' => $toset, |
|
427 | + 'node' => [ |
|
428 | + '$in' => $toset, |
|
429 | 429 | ], |
430 | 430 | ], $action); |
431 | 431 |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | public function preCopyFile( |
117 | 117 | File $node, |
118 | 118 | Collection $parent, |
119 | - int $conflict, |
|
119 | + int $conflict, |
|
120 | 120 | ?string $recursion, |
121 | 121 | bool $recursion_first |
122 | 122 | ): void { |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | File $node, |
130 | 130 | Collection $parent, |
131 | 131 | File $new_node, |
132 | - int $conflict, |
|
132 | + int $conflict, |
|
133 | 133 | ?string $recursion, |
134 | 134 | bool $recursion_first |
135 | 135 | ): void { |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | public function preCopyFile( |
207 | 207 | File $node, |
208 | 208 | Collection $parent, |
209 | - int $conflict, |
|
209 | + int $conflict, |
|
210 | 210 | ?string $recursion, |
211 | 211 | bool $recursion_first |
212 | 212 | ): void; |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | File $node, |
228 | 228 | Collection $parent, |
229 | 229 | File $new_node, |
230 | - int $conflict, |
|
230 | + int $conflict, |
|
231 | 231 | ?string $recursion, |
232 | 232 | bool $recursion_first |
233 | 233 | ): void; |
@@ -85,6 +85,6 @@ |
||
85 | 85 | protected function getTemplate(): string |
86 | 86 | { |
87 | 87 | return __DIR__.DIRECTORY_SEPARATOR.'assets' |
88 | - .DIRECTORY_SEPARATOR.'template.'.$this->type; |
|
88 | + .DIRECTORY_SEPARATOR.'template.'.$this->type; |
|
89 | 89 | } |
90 | 90 | } |
@@ -734,8 +734,8 @@ |
||
734 | 734 | |
735 | 735 | $ops[] = [ |
736 | 736 | '$sort' => [ |
737 | - 'sum' => -1, |
|
738 | - '_id' => 1, |
|
737 | + 'sum' => -1, |
|
738 | + '_id' => 1, |
|
739 | 739 | ], |
740 | 740 | ]; |
741 | 741 |
@@ -722,6 +722,8 @@ |
||
722 | 722 | /** |
723 | 723 | * Get resolved groups. |
724 | 724 | * |
725 | + * @param integer $offset |
|
726 | + * @param integer $limit |
|
725 | 727 | * @return Generator |
726 | 728 | */ |
727 | 729 | public function getResolvedGroups(?int $offset = null, ?int $limit = null): ?Generator |
@@ -50,7 +50,7 @@ |
||
50 | 50 | $this->db->storage->updateOne( |
51 | 51 | ['_id' => $object['_id']], |
52 | 52 | [ |
53 | - '$set' => ['filter' => $filter], |
|
53 | + '$set' => ['filter' => $filter], |
|
54 | 54 | ] |
55 | 55 | ); |
56 | 56 | } |
@@ -48,7 +48,7 @@ |
||
48 | 48 | $this->db->storage->updateOne( |
49 | 49 | ['_id' => $object['_id']], |
50 | 50 | [ |
51 | - '$set' => ['share_name' => $object['name']], |
|
51 | + '$set' => ['share_name' => $object['name']], |
|
52 | 52 | ] |
53 | 53 | ); |
54 | 54 | } |
@@ -90,7 +90,7 @@ |
||
90 | 90 | } |
91 | 91 | |
92 | 92 | $this->logger->info('found first time username ['.$identity->getIdentifier().'], auto-create user', [ |
93 | - 'category' => get_class($this), |
|
93 | + 'category' => get_class($this), |
|
94 | 94 | ]); |
95 | 95 | |
96 | 96 | $attributes = []; |
@@ -265,6 +265,8 @@ |
||
265 | 265 | /** |
266 | 266 | * Get resolved member. |
267 | 267 | * |
268 | + * @param integer $offset |
|
269 | + * @param integer $limit |
|
268 | 270 | * @return Generator |
269 | 271 | */ |
270 | 272 | public function getResolvedMembers(?int $offset = null, ?int $limit = null): ?Generator |