@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | throw $e; |
229 | 229 | } |
230 | 230 | } catch (Exception $e) { |
231 | - $this->logger->error('Failed to update existing version for ' . $node->getPath(), [ |
|
231 | + $this->logger->error('Failed to update existing version for '.$node->getPath(), [ |
|
232 | 232 | 'exception' => $e, |
233 | 233 | 'versionCreated' => $writeHookInfo['versionCreated'], |
234 | 234 | 'previousNode' => [ |
@@ -344,7 +344,7 @@ discard block |
||
344 | 344 | return; |
345 | 345 | } |
346 | 346 | |
347 | - $absOldPath = Filesystem::normalizePath('/' . $user . '/files' . $oldPath); |
|
347 | + $absOldPath = Filesystem::normalizePath('/'.$user.'/files'.$oldPath); |
|
348 | 348 | $manager = Filesystem::getMountManager(); |
349 | 349 | $mount = $manager->find($absOldPath); |
350 | 350 | $internalPath = $mount->getInternalPath($absOldPath); |
@@ -352,7 +352,7 @@ discard block |
||
352 | 352 | return; |
353 | 353 | } |
354 | 354 | |
355 | - $view = new View($user . '/files'); |
|
355 | + $view = new View($user.'/files'); |
|
356 | 356 | if ($view->file_exists($newPath)) { |
357 | 357 | Storage::store($newPath); |
358 | 358 | } else { |