@@ -368,7 +368,7 @@ discard block |
||
| 368 | 368 | if (!is_null($document->getPath()) && $document->getPath() !== '') { |
| 369 | 369 | $document->setTitle($document->getPath()); |
| 370 | 370 | } else { |
| 371 | - $document->setTitle('/' . $document->getTitle()); |
|
| 371 | + $document->setTitle('/'.$document->getTitle()); |
|
| 372 | 372 | } |
| 373 | 373 | } |
| 374 | 374 | |
@@ -450,7 +450,7 @@ discard block |
||
| 450 | 450 | // TODO - update $document with a error status instead of just ignore ! |
| 451 | 451 | $document->getIndex() |
| 452 | 452 | ->setStatus(Index::INDEX_IGNORE); |
| 453 | - echo 'Exception: ' . json_encode($e->getTrace()) . ' - ' . $e->getMessage() . "\n"; |
|
| 453 | + echo 'Exception: '.json_encode($e->getTrace()).' - '.$e->getMessage()."\n"; |
|
| 454 | 454 | } |
| 455 | 455 | |
| 456 | 456 | $index[] = $document; |
@@ -674,7 +674,7 @@ discard block |
||
| 674 | 674 | private function getWebdavId($fileId) { |
| 675 | 675 | $instanceId = $this->configService->getSystemValue('instanceid'); |
| 676 | 676 | |
| 677 | - return sprintf("%08s", $fileId) . $instanceId; |
|
| 677 | + return sprintf("%08s", $fileId).$instanceId; |
|
| 678 | 678 | } |
| 679 | 679 | |
| 680 | 680 | |