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
Typehint against IDatabase in special pages
[lhc/web/wiklou.git]
/
includes
/
specialpage
/
QueryPage.php
diff --git
a/includes/specialpage/QueryPage.php
b/includes/specialpage/QueryPage.php
index
46873b1
..
b8fde7d
100644
(file)
--- a/
includes/specialpage/QueryPage.php
+++ b/
includes/specialpage/QueryPage.php
@@
-384,7
+384,7
@@
abstract class QueryPage extends SpecialPage {
/**
* Get a DB connection to be used for slow recache queries
- * @return
\Wikimedia\Rdbms\
Database
+ * @return
I
Database
*/
function getRecacheDB() {
return wfGetDB( DB_REPLICA, [ $this->getName(), 'QueryPage::recache', 'vslow' ] );