* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
- *
*/
/**
/**
* @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( [] );
}
}