diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-12-25 18:17:32 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-01-02 16:38:20 +0100 |
commit | 54f6f1e6b7de3c5ce2414c9f436af1defa6c3c78 (patch) | |
tree | 318a5b923ee58dbddb9bdc06ea930c5a0c33075c /lib/public/db.php | |
parent | 516464ba94a73e9151702ddd08dae1b7501dc79c (diff) | |
download | nextcloud-server-54f6f1e6b7de3c5ce2414c9f436af1defa6c3c78.tar.gz nextcloud-server-54f6f1e6b7de3c5ce2414c9f436af1defa6c3c78.zip |
phpdoc fixes for public api
Diffstat (limited to 'lib/public/db.php')
-rw-r--r-- | lib/public/db.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/public/db.php b/lib/public/db.php index 92ff8f93a22..5d4aadd22ae 100644 --- a/lib/public/db.php +++ b/lib/public/db.php @@ -36,8 +36,8 @@ namespace OCP; class DB { /** * @brief Prepare a SQL query - * @param $query Query string - * @returns prepared SQL query + * @param string $query Query string + * @return \MDB2_Statement_Common prepared SQL query * * SQL query via MDB2 prepare(), needs to be execute()'d! */ @@ -59,7 +59,7 @@ class DB { * 'family' => array ('value' => 'Stefanov'), * 'birth_date' => array ('value' => '1975-06-20') * ); - * @returns true/false + * @return bool * */ public static function insertIfNotExist($table, $input) { @@ -69,7 +69,7 @@ class DB { /** * @brief gets last value of autoincrement * @param $table string The optional table name (will replace *PREFIX*) and add sequence suffix - * @returns id + * @return int * * MDB2 lastInsertID() * |