summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/appframework/db/db.php2
-rw-r--r--lib/public/appframework/db/idb.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/appframework/db/db.php b/lib/private/appframework/db/db.php
index c12e9d45ef2..713b39175c6 100644
--- a/lib/private/appframework/db/db.php
+++ b/lib/private/appframework/db/db.php
@@ -37,7 +37,7 @@ class Db implements IDb {
* @param string $sql the sql query with ? placeholder for params
* @param int $limit the maximum number of rows
* @param int $offset from which row we want to start
- * @return \OCP\DB a query object
+ * @return \OC_DB_StatementWrapper prepared SQL query
*/
public function prepareQuery($sql, $limit=null, $offset=null){
return \OCP\DB::prepare($sql, $limit, $offset);
diff --git a/lib/public/appframework/db/idb.php b/lib/public/appframework/db/idb.php
index e2edff4f615..e5313476f40 100644
--- a/lib/public/appframework/db/idb.php
+++ b/lib/public/appframework/db/idb.php
@@ -35,7 +35,7 @@ interface IDb {
* @param string $sql the sql query with ? placeholder for params
* @param int $limit the maximum number of rows
* @param int $offset from which row we want to start
- * @return \OCP\DB a query object
+ * @return \OC_DB_StatementWrapper prepared SQL query
*/
public function prepareQuery($sql, $limit=null, $offset=null);