Code Duplication    Length = 7-7 lines in 2 locations

includes/logging/BlockLogFormatter.php 1 location

@@ 217-223 (lines=7) @@
214
		return $params;
215
	}
216
217
	public function formatParametersForApi() {
218
		$ret = parent::formatParametersForApi();
219
		if ( isset( $ret['flags'] ) ) {
220
			ApiResult::setIndexedTagName( $ret['flags'], 'f' );
221
		}
222
		return $ret;
223
	}
224
225
}
226

includes/logging/DeleteLogFormatter.php 1 location

@@ 280-286 (lines=7) @@
277
		return $params;
278
	}
279
280
	public function formatParametersForApi() {
281
		$ret = parent::formatParametersForApi();
282
		if ( isset( $ret['ids'] ) ) {
283
			ApiResult::setIndexedTagName( $ret['ids'], 'id' );
284
		}
285
		return $ret;
286
	}
287
}
288