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
build: Bump mediawiki-phan-config to 0.8.0
[lhc/web/wiklou.git]
/
includes
/
libs
/
rdbms
/
loadmonitor
/
LoadMonitorMySQL.php
diff --git
a/includes/libs/rdbms/loadmonitor/LoadMonitorMySQL.php
b/includes/libs/rdbms/loadmonitor/LoadMonitorMySQL.php
index
5ae5bbd
..
7383472
100644
(file)
--- a/
includes/libs/rdbms/loadmonitor/LoadMonitorMySQL.php
+++ b/
includes/libs/rdbms/loadmonitor/LoadMonitorMySQL.php
@@
-44,6
+44,7
@@
class LoadMonitorMySQL extends LoadMonitor {
protected function getWeightScale( $index, IDatabase $conn = null ) {
if ( !$conn ) {
+ // @phan-suppress-next-line PhanTypeMismatchArgumentReal
return parent::getWeightScale( $index, $conn );
}