Code Duplication    Length = 7-7 lines in 2 locations

includes/changes/RCCacheEntryFactory.php 2 locations

@@ 165-171 (lines=7) @@
162
	 *
163
	 * @return array
164
	 */
165
	private function buildCurQueryParams( RecentChange $recentChange ) {
166
		return [
167
			'curid' => $recentChange->mAttribs['rc_cur_id'],
168
			'diff' => 0,
169
			'oldid' => $recentChange->mAttribs['rc_this_oldid']
170
		];
171
	}
172
173
	/**
174
	 * @param RecentChange $cacheEntry
@@ 200-206 (lines=7) @@
197
	 *
198
	 * @return array
199
	 */
200
	private function buildDiffQueryParams( RecentChange $recentChange ) {
201
		return [
202
			'curid' => $recentChange->mAttribs['rc_cur_id'],
203
			'diff' => $recentChange->mAttribs['rc_this_oldid'],
204
			'oldid' => $recentChange->mAttribs['rc_last_oldid']
205
		];
206
	}
207
208
	/**
209
	 * @param RecentChange $cacheEntry