aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiWatch.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/api/ApiWatch.php')
-rw-r--r--includes/api/ApiWatch.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/api/ApiWatch.php b/includes/api/ApiWatch.php
index acb071a6a846..7d9dea1fffec 100644
--- a/includes/api/ApiWatch.php
+++ b/includes/api/ApiWatch.php
@@ -132,8 +132,8 @@ class ApiWatch extends ApiBase {
}
private function watchTitle( PageIdentity $page, User $user, array $params,
- $compatibilityMode = false
- ) {
+ bool $compatibilityMode = false
+ ): array {
$res = [ 'title' => $this->titleFormatter->getPrefixedText( $page ), 'ns' => $page->getNamespace() ];
if ( !$this->watchlistManager->isWatchable( $page ) ) {