@@ -278,7 +278,7 @@ discard block |
||
| 278 | 278 | * @return void |
| 279 | 279 | */ |
| 280 | 280 | public function preCopyFile(File $node, Collection $parent, |
| 281 | - int $conflict, ?string $recursion, bool $recursion_first): void; |
|
| 281 | + int $conflict, ?string $recursion, bool $recursion_first): void; |
|
| 282 | 282 | |
| 283 | 283 | |
| 284 | 284 | /** |
@@ -295,7 +295,7 @@ discard block |
||
| 295 | 295 | * @return void |
| 296 | 296 | */ |
| 297 | 297 | public function postCopyFile(File $node, Collection $parent, File $new_node, |
| 298 | - int $conflict, ?string $recursion, bool $recursion_first): void; |
|
| 298 | + int $conflict, ?string $recursion, bool $recursion_first): void; |
|
| 299 | 299 | |
| 300 | 300 | |
| 301 | 301 | /** |
@@ -277,7 +277,7 @@ discard block |
||
| 277 | 277 | * @return void |
| 278 | 278 | */ |
| 279 | 279 | public function preCopyFile(File $node, Collection $parent, |
| 280 | - int $conflict, ?string $recursion, bool $recursion_first): void |
|
| 280 | + int $conflict, ?string $recursion, bool $recursion_first): void |
|
| 281 | 281 | { |
| 282 | 282 | } |
| 283 | 283 | |
@@ -296,7 +296,7 @@ discard block |
||
| 296 | 296 | * @return void |
| 297 | 297 | */ |
| 298 | 298 | public function postCopyFile(File $node, Collection $parent, File $new_node, |
| 299 | - int $conflict, ?string $recursion, bool $recursion_first): void |
|
| 299 | + int $conflict, ?string $recursion, bool $recursion_first): void |
|
| 300 | 300 | { |
| 301 | 301 | } |
| 302 | 302 | |
@@ -33,11 +33,11 @@ discard block |
||
| 33 | 33 | ]; |
| 34 | 34 | |
| 35 | 35 | |
| 36 | - /** |
|
| 37 | - * Init |
|
| 38 | - * |
|
| 39 | - * @return void |
|
| 40 | - */ |
|
| 36 | + /** |
|
| 37 | + * Init |
|
| 38 | + * |
|
| 39 | + * @return void |
|
| 40 | + */ |
|
| 41 | 41 | public function init(): void |
| 42 | 42 | { |
| 43 | 43 | if (php_sapi_name() === 'cli') { |
@@ -437,8 +437,8 @@ discard block |
||
| 437 | 437 | ]; |
| 438 | 438 | |
| 439 | 439 | $node->getFilesystem()->getDatabase()->delta->updateMany([ |
| 440 | - 'node' => [ |
|
| 441 | - '$in' => $toset, |
|
| 440 | + 'node' => [ |
|
| 441 | + '$in' => $toset, |
|
| 442 | 442 | ], |
| 443 | 443 | ], $action); |
| 444 | 444 | |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | $this->logger->info('found first time username ['.$username.'], auto-create user in mongodb user collection', [ |
| 67 | - 'category' => get_class($this) |
|
| 67 | + 'category' => get_class($this) |
|
| 68 | 68 | ]); |
| 69 | 69 | |
| 70 | 70 | $attributes = [ |
@@ -152,7 +152,7 @@ |
||
| 152 | 152 | $mail = new Message(); |
| 153 | 153 | $mail->setBody($body); |
| 154 | 154 | $mail->setFrom($this->notifications['new_share']['sender']['address'], |
| 155 | - $this->notifications['new_share']['sender']['name']); |
|
| 155 | + $this->notifications['new_share']['sender']['name']); |
|
| 156 | 156 | $mail->setSubject($subject); |
| 157 | 157 | |
| 158 | 158 | foreach ($receiver as $rec) { |
@@ -458,8 +458,8 @@ |
||
| 458 | 458 | |
| 459 | 459 | $ops[] = [ |
| 460 | 460 | '$sort' => [ |
| 461 | - "sum" => -1, |
|
| 462 | - "_id" => 1 |
|
| 461 | + "sum" => -1, |
|
| 462 | + "_id" => 1 |
|
| 463 | 463 | ], |
| 464 | 464 | ]; |
| 465 | 465 | |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | protected function getTemplate(): string |
| 67 | 67 | { |
| 68 | 68 | return dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'assets' |
| 69 | - .DIRECTORY_SEPARATOR.'template.'.$this->type; |
|
| 69 | + .DIRECTORY_SEPARATOR.'template.'.$this->type; |
|
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | |