Make DBAccessBase use DBConnRef, rename $wiki, and hide getLoadBalancer()
[lhc/web/wiklou.git] / includes / db / ORAResult.php
index 07c6fc7..aafd386 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+use Wikimedia\Rdbms\IDatabase;
+
 /**
  * The oci8 extension is fairly weak and doesn't support oci_num_rows, among
  * other things. We use a wrapper class to handle that and other
@@ -29,7 +31,7 @@ class ORAResult {
        }
 
        /**
-        * @param IDatabase $db
+        * @param IDatabase &$db
         * @param resource $stmt A valid OCI statement identifier
         * @param bool $unique
         */