@@ -81,8 +81,8 @@ discard block |
||
81 | 81 | |
82 | 82 | protected function execute(InputInterface $input, OutputInterface $output): int { |
83 | 83 | if ($this->memoryLimit !== -1) { |
84 | - $limitInMiB = round($this->memoryLimit / 1024 /1024, 1); |
|
85 | - $thresholdInMiB = round($this->memoryTreshold / 1024 /1024, 1); |
|
84 | + $limitInMiB = round($this->memoryLimit / 1024 / 1024, 1); |
|
85 | + $thresholdInMiB = round($this->memoryTreshold / 1024 / 1024, 1); |
|
86 | 86 | $output->writeln("Memory limit is $limitInMiB MiB"); |
87 | 87 | $output->writeln("Memory threshold is $thresholdInMiB MiB"); |
88 | 88 | $output->writeln(""); |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | * by default there could be 0-9 a-f and the old-multibucket folder which are all fine |
117 | 117 | */ |
118 | 118 | if ($total < 18) { |
119 | - $directoryListing = array_filter($directoryListing, function ($dir) { |
|
119 | + $directoryListing = array_filter($directoryListing, function($dir) { |
|
120 | 120 | if ($dir->getName() === 'old-multibucket') { |
121 | 121 | return false; |
122 | 122 | } |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | return 1; |
222 | 222 | } |
223 | 223 | |
224 | - $lockName = 'occ preview:repair lock ' . $oldPreviewFolder->getId(); |
|
224 | + $lockName = 'occ preview:repair lock '.$oldPreviewFolder->getId(); |
|
225 | 225 | try { |
226 | 226 | $section1->writeln(" Locking \"$lockName\" …", OutputInterface::VERBOSITY_VERBOSE); |
227 | 227 | $this->lockingProvider->acquireLock($lockName, ILockingProvider::LOCK_EXCLUSIVE); |