summaryrefslogtreecommitdiff
path: root/includes/search/SearchEngine.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/search/SearchEngine.php')
-rw-r--r--includes/search/SearchEngine.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/search/SearchEngine.php b/includes/search/SearchEngine.php
index 5770276a..e5ed23f5 100644
--- a/includes/search/SearchEngine.php
+++ b/includes/search/SearchEngine.php
@@ -33,7 +33,7 @@ class SearchEngine {
/** @var string */
public $prefix = '';
- /** @var int[] */
+ /** @var int[]|null */
public $namespaces = array( NS_MAIN );
/** @var int */
@@ -293,7 +293,7 @@ class SearchEngine {
* Set which namespaces the search should include.
* Give an array of namespace index numbers.
*
- * @param array $namespaces
+ * @param int[]|null $namespaces
*/
function setNamespaces( $namespaces ) {
$this->namespaces = $namespaces;