Completed
Pull Request — master (#348)
by Maxence
16s
created
lib/Listeners/ShareDeleted.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 				(string)$node->getId(),
41 41
 				IIndex::INDEX_META
42 42
 			);
43
-		} catch (InvalidPathException|NotFoundException $e) {
43
+		} catch (InvalidPathException | NotFoundException $e) {
44 44
 			$this->logger->warning('issue while updating index status', ['exception' => $e]);
45 45
 		}
46 46
 	}
Please login to merge, or discard this patch.
lib/Listeners/FileDeleted.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 			$this->fullTextSearchManager->updateIndexStatus(
38 38
 				'files', (string)$node->getId(), IIndex::INDEX_REMOVE, true
39 39
 			);
40
-		} catch (InvalidPathException|NotFoundException $e) {
40
+		} catch (InvalidPathException | NotFoundException $e) {
41 41
 			$this->logger->warning('issue while updating index status', ['exception' => $e]);
42 42
 		}
43 43
 	}
Please login to merge, or discard this patch.
lib/Listeners/FileChanged.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 			$this->fullTextSearchManager->updateIndexStatus(
39 39
 				'files', (string)$node->getId(), IIndex::INDEX_CONTENT
40 40
 			);
41
-		} catch (InvalidPathException|NotFoundException $e) {
41
+		} catch (InvalidPathException | NotFoundException $e) {
42 42
 			$this->logger->warning('issue while updating index status', ['exception' => $e]);
43 43
 		}
44 44
 	}
Please login to merge, or discard this patch.
lib/Listeners/FileCreated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 			$this->fullTextSearchManager->createIndex(
43 43
 				'files', (string)$node->getId(), $user->getUID(), IIndex::INDEX_FULL
44 44
 			);
45
-		} catch (InvalidPathException|NotFoundException $e) {
45
+		} catch (InvalidPathException | NotFoundException $e) {
46 46
 			$this->logger->warning('issue while updating index status', ['exception' => $e]);
47 47
 		}
48 48
 	}
Please login to merge, or discard this patch.
lib/Listeners/FileRenamed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 			$this->fullTextSearchManager->updateIndexStatus(
38 38
 				'files', (string)$node->getId(), IIndex::INDEX_META
39 39
 			);
40
-		} catch (InvalidPathException|NotFoundException $e) {
40
+		} catch (InvalidPathException | NotFoundException $e) {
41 41
 			$this->logger->warning('issue while updating index status', ['exception' => $e]);
42 42
 		}
43 43
 	}
Please login to merge, or discard this patch.