summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-04-19 15:32:17 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-04-19 15:32:17 +0200
commit95a83233a9194d3d5cd0f060b0d7678379401b2a (patch)
tree61a56e3b42676af51850f23d29c4d421ed35d88c /lib
parent93237d87ec5fdb54191bf3a75bd6d85992de6f39 (diff)
downloadnextcloud-server-95a83233a9194d3d5cd0f060b0d7678379401b2a.tar.gz
nextcloud-server-95a83233a9194d3d5cd0f060b0d7678379401b2a.zip
fix doc strings for db facade
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);