dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Remove test for <math> which fails when Extension:Math is installed"
[lhc/web/wiklou.git]
/
includes
/
search
/
SearchSuggestionSet.php
diff --git
a/includes/search/SearchSuggestionSet.php
b/includes/search/SearchSuggestionSet.php
index
a1f9a04
..
5a24fd6
100644
(file)
--- a/
includes/search/SearchSuggestionSet.php
+++ b/
includes/search/SearchSuggestionSet.php
@@
-28,13
+28,13
@@
class SearchSuggestionSet {
/**
* @var SearchSuggestion[]
*/
/**
* @var SearchSuggestion[]
*/
- private $suggestions =
array()
;
+ private $suggestions =
[]
;
/**
*
* @var array
*/
/**
*
* @var array
*/
- private $pageMap =
array()
;
+ private $pageMap =
[]
;
/**
* Builds a new set of suggestions.
/**
* Builds a new set of suggestions.
@@
-203,11
+203,10
@@
class SearchSuggestionSet {
return new SearchSuggestionSet( $suggestions );
}
return new SearchSuggestionSet( $suggestions );
}
-
/**
* @return SearchSuggestionSet an empty suggestion set
*/
public static function emptySuggestionSet() {
/**
* @return SearchSuggestionSet an empty suggestion set
*/
public static function emptySuggestionSet() {
- return new SearchSuggestionSet(
array()
);
+ return new SearchSuggestionSet(
[]
);
}
}
}
}