Code Duplication    Length = 9-9 lines in 2 locations

lib/Db/IndexesRequest.php 2 locations

@@ 176-184 (lines=9) @@
173
	 * @param string $documentId
174
	 * @param int $status
175
	 */
176
	public function updateStatus(string $providerId, string $documentId, int $status) {
177
		$qb = $this->getIndexesUpdateSql();
178
		$qb->set('status', $qb->createNamedParameter($status));
179
180
		$this->limitToProviderId($qb, $providerId);
181
		$this->limitToDocumentId($qb, $documentId);
182
183
		$qb->execute();
184
	}
185
186
	/**
187
	 * @param string $providerId
@@ 191-199 (lines=9) @@
188
	 * @param array $indexes
189
	 * @param int $status
190
	 */
191
	public function updateStatuses(string $providerId, array $indexes, int $status) {
192
		$qb = $this->getIndexesUpdateSql();
193
		$qb->set('status', $qb->createNamedParameter($status));
194
195
		$this->limitToProviderId($qb, $providerId);
196
		$this->limitToDocumentIds($qb, $indexes);
197
198
		$qb->execute();
199
	}
200
201
202
	/**