@@ -44,9 +44,9 @@ discard block |
||
| 44 | 44 | public const TIMEOUT = 18000; |
| 45 | 45 | public static $DELAY = |
| 46 | 46 | [ |
| 47 | - 1 => 60, // every minute |
|
| 48 | - 2 => 300, // every 5 minutes |
|
| 49 | - 3 => 3600, // every hour |
|
| 47 | + 1 => 60, // every minute |
|
| 48 | + 2 => 300, // every 5 minutes |
|
| 49 | + 3 => 3600, // every hour |
|
| 50 | 50 | 4 => 75400, // every day |
| 51 | 51 | 5 => 432000 // evey week |
| 52 | 52 | ]; |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | $this->federatedUserService->bypassCurrentUserCondition(true); |
| 97 | 97 | |
| 98 | 98 | $this->lockMaintenanceRun(); |
| 99 | - $this->debug('running maintenance (' . $level . ')'); |
|
| 99 | + $this->debug('running maintenance ('.$level.')'); |
|
| 100 | 100 | |
| 101 | 101 | switch ($level) { |
| 102 | 102 | case 1: |
@@ -289,14 +289,14 @@ discard block |
||
| 289 | 289 | ->includeSystemCircles(); |
| 290 | 290 | |
| 291 | 291 | $circles = array_map( |
| 292 | - function (Circle $circle) { |
|
| 292 | + function(Circle $circle) { |
|
| 293 | 293 | return $circle->getSingleId(); |
| 294 | 294 | }, $this->circleRequest->getCircles(null, $probe) |
| 295 | 295 | ); |
| 296 | 296 | |
| 297 | 297 | $shares = array_unique( |
| 298 | 298 | array_map( |
| 299 | - function (ShareWrapper $share) { |
|
| 299 | + function(ShareWrapper $share) { |
|
| 300 | 300 | return $share->getSharedWith(); |
| 301 | 301 | }, $this->shareWrapperRequest->getShares() |
| 302 | 302 | ) |
@@ -439,7 +439,7 @@ discard block |
||
| 439 | 439 | */ |
| 440 | 440 | private function output(string $message): void { |
| 441 | 441 | if (!is_null($this->output)) { |
| 442 | - $this->output->writeln('- ' . $message); |
|
| 442 | + $this->output->writeln('- '.$message); |
|
| 443 | 443 | } |
| 444 | 444 | } |
| 445 | 445 | } |