Fix return type doc. On SQLite ResultWrapper is returned
authorjeroendedauw <jeroendedauw@gmail.com>
Fri, 18 Jan 2013 14:40:05 +0000 (15:40 +0100)
committerjeroendedauw <jeroendedauw@gmail.com>
Fri, 18 Jan 2013 14:40:05 +0000 (15:40 +0100)
Change-Id: Ia18a0c6418d230d0a11b53efe40c3caeaa86300b

includes/db/Database.php

index ffc4de0..cf93508 100644 (file)
@@ -2593,7 +2593,7 @@ abstract class DatabaseBase implements DatabaseType {
         * @param $fname String name of the calling function
         *
         * @throws DBUnexpectedError
-        * @return bool
+        * @return bool|ResultWrapper
         */
        public function delete( $table, $conds, $fname = 'DatabaseBase::delete' ) {
                if ( !$conds ) {