Code Duplication    Length = 5-5 lines in 2 locations

includes/specials/SpecialSearch.php 2 locations

@@ 479-483 (lines=5) @@
476
	protected function getDidYouMeanHtml( SearchResultSet $textMatches ) {
477
		# mirror Go/Search behavior of original request ..
478
		$params = [ 'search' => $textMatches->getSuggestionQuery() ];
479
		if ( $this->fulltext === null ) {
480
			$params['fulltext'] = 'Search';
481
		} else {
482
			$params['fulltext'] = $this->fulltext;
483
		}
484
		$stParams = array_merge( $params, $this->powerSearchOptions() );
485
486
		$suggest = Linker::linkKnown(
@@ 515-519 (lines=5) @@
512
		// Search instead for '$orig'
513
514
		$params = [ 'search' => $textMatches->getQueryAfterRewrite() ];
515
		if ( $this->fulltext === null ) {
516
			$params['fulltext'] = 'Search';
517
		} else {
518
			$params['fulltext'] = $this->fulltext;
519
		}
520
		$stParams = array_merge( $params, $this->powerSearchOptions() );
521
522
		$rewritten = Linker::linkKnown(