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:
005d480
)
Correct return type doc for DatabaseBase::getLBInfo()
author
Siebrand Mazeland
<s.mazeland@xs4all.nl>
Sat, 11 Jan 2014 08:31:16 +0000
(09:31 +0100)
committer
Siebrand Mazeland
<s.mazeland@xs4all.nl>
Sat, 11 Jan 2014 11:31:28 +0000
(12:31 +0100)
This confused PHPStorm's code analyser.
Change-Id: If99abfa6ca9e52a39b6d2621441686ab564781c7
includes/db/Database.php
patch
|
blob
|
history
diff --git
a/includes/db/Database.php
b/includes/db/Database.php
index
45a214e
..
6e87c40
100644
(file)
--- a/
includes/db/Database.php
+++ b/
includes/db/Database.php
@@
-445,7
+445,7
@@
abstract class DatabaseBase implements IDatabase, DatabaseType {
* @param string $name The entry of the info array to get, or null to get the
* whole array
*
- * @return
LoadBalancer
|null
+ * @return
array|mixed
|null
*/
public function getLBInfo( $name = null ) {
if ( is_null( $name ) ) {