r79229 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79228‎ | r79229 | r79230 >
Date:02:44, 30 December 2010
Author:reedy
Status:resolved
Tags:
Comment:
Add function return type hint to wfGetLBFactory

More parameter documentation to CloneDatabase
Modified paths:
  • /trunk/phase3/includes/GlobalFunctions.php (modified) (history)
  • /trunk/phase3/includes/db/CloneDatabase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/GlobalFunctions.php
@@ -3153,6 +3153,7 @@
31543154
31553155 /**
31563156 * Get the load balancer factory object
 3157+ * @return LoadBalaner
31573158 */
31583159 function &wfGetLBFactory() {
31593160 return LBFactory::singleton();
Index: trunk/phase3/includes/db/CloneDatabase.php
@@ -130,7 +130,7 @@
131131 }
132132
133133 /**
134 - * @param $lb
 134+ * @param $lb LoadBalancer
135135 * @param $prefix
136136 * @return void
137137 */

Follow-up revisions

RevisionCommit summaryAuthorDate
r79230Followup r79229, fix varible type failreedy02:45, 30 December 2010

Status & tagging log