Documentation: Fix return value of IDatabase::insertSelect()
authorJesús Martínez Novo <martineznovo@gmail.com>
Fri, 7 Jul 2017 10:58:21 +0000 (12:58 +0200)
committerJesús Martínez Novo <martineznovo@gmail.com>
Fri, 7 Jul 2017 10:58:21 +0000 (12:58 +0200)
Implementation at Database returns bool, not IResultWrapper

Change-Id: Ic560bfcb45f0e9cd1f4e8334e3b5dfc4e682452a

includes/libs/rdbms/database/IDatabase.php

index 7c6413c..e463ea3 100644 (file)
@@ -1252,7 +1252,7 @@ interface IDatabase {
         * @param array $selectJoinConds Join conditions for the SELECT part of the query, see
         *    IDatabase::select() for details.
         *
         * @param array $selectJoinConds Join conditions for the SELECT part of the query, see
         *    IDatabase::select() for details.
         *
-        * @return IResultWrapper
+        * @return bool
         */
        public function insertSelect( $destTable, $srcTable, $varMap, $conds,
                $fname = __METHOD__,
         */
        public function insertSelect( $destTable, $srcTable, $varMap, $conds,
                $fname = __METHOD__,