/**
* @var SearchSuggestion[]
*/
- private $suggestions = array();
+ private $suggestions = [];
/**
*
* @var array
*/
- private $pageMap = array();
+ private $pageMap = [];
/**
* Builds a new set of suggestions.
return new SearchSuggestionSet( $suggestions );
}
-
/**
* @return SearchSuggestionSet an empty suggestion set
*/
public static function emptySuggestionSet() {
- return new SearchSuggestionSet( array() );
+ return new SearchSuggestionSet( [] );
}
}