Code Duplication    Length = 5-5 lines in 2 locations

includes/specials/SpecialSearch.php 2 locations

@@ 488-492 (lines=5) @@
485
	protected function getDidYouMeanHtml( SearchResultSet $textMatches ) {
486
		# mirror Go/Search behavior of original request ..
487
		$params = [ 'search' => $textMatches->getSuggestionQuery() ];
488
		if ( $this->fulltext === null ) {
489
			$params['fulltext'] = 'Search';
490
		} else {
491
			$params['fulltext'] = $this->fulltext;
492
		}
493
		$stParams = array_merge( $params, $this->powerSearchOptions() );
494
495
		$suggest = Linker::linkKnown(
@@ 524-528 (lines=5) @@
521
		// Search instead for '$orig'
522
523
		$params = [ 'search' => $textMatches->getQueryAfterRewrite() ];
524
		if ( $this->fulltext === null ) {
525
			$params['fulltext'] = 'Search';
526
		} else {
527
			$params['fulltext'] = $this->fulltext;
528
		}
529
		$stParams = array_merge( $params, $this->powerSearchOptions() );
530
531
		$rewritten = Linker::linkKnown(