dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
783aa87
)
rdbms: Pass required parameter
author
Jakub Vrana
<jakub@vrana.cz>
Sat, 1 Dec 2018 16:40:47 +0000
(17:40 +0100)
committer
Legoktm
<legoktm@member.fsf.org>
Sat, 1 Dec 2018 23:46:10 +0000
(23:46 +0000)
Found by PHPStan.
Change-Id: I8fbb64f7b5058b36381bccd5bc6a9d095b9ace15
includes/libs/rdbms/database/Database.php
patch
|
blob
|
history
diff --git
a/includes/libs/rdbms/database/Database.php
b/includes/libs/rdbms/database/Database.php
index
2c40c72
..
63d648d
100644
(file)
--- a/
includes/libs/rdbms/database/Database.php
+++ b/
includes/libs/rdbms/database/Database.php
@@
-3742,7
+3742,7
@@
abstract class Database implements IDatabase, IMaintainableDatabase, LoggerAware
}
}
if ( $pos < 0 ) {
- throw new DBUnexpectedError( "Atomic section not found (for $fname)" );
+ throw new DBUnexpectedError(
$this,
"Atomic section not found (for $fname)" );
}
// Remove all descendant sections and re-index the array
$excisedIds = [];