[Pkg-owncloud-commits] [owncloud] 04/172: fix doc strings for db facade

David Prévot taffit at moszumanska.debian.org
Sun May 18 20:09:34 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 95a83233a9194d3d5cd0f060b0d7678379401b2a
Author: Bernhard Posselt <dev at bernhard-posselt.com>
Date:   Sat Apr 19 15:32:17 2014 +0200

    fix doc strings for db facade
---
 lib/private/appframework/db/db.php | 2 +-
 lib/public/appframework/db/idb.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/private/appframework/db/db.php b/lib/private/appframework/db/db.php
index c12e9d4..713b391 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 e2edff4..e531347 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);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list