summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/db.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-07-19 20:21:05 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-01 08:20:16 +0200
commit0fa49db77049712c6ecd249921235efd9776318b (patch)
treedd2e7b01135c2fdaec3c67b5219a453ef4c0faba /lib/private/legacy/db.php
parent66b82087915b53a98d5b84062ced6e59712698a2 (diff)
downloadnextcloud-server-0fa49db77049712c6ecd249921235efd9776318b.tar.gz
nextcloud-server-0fa49db77049712c6ecd249921235efd9776318b.zip
Some more invalid PHPDocs in legacy classes
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/private/legacy/db.php')
-rw-r--r--lib/private/legacy/db.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/private/legacy/db.php b/lib/private/legacy/db.php
index 9e4d619d953..843970d7d53 100644
--- a/lib/private/legacy/db.php
+++ b/lib/private/legacy/db.php
@@ -45,9 +45,9 @@ class OC_DB {
/**
* Prepare a SQL query
* @param string $query Query string
- * @param int $limit
- * @param int $offset
- * @param bool $isManipulation
+ * @param int|null $limit
+ * @param int|null $offset
+ * @param bool|null $isManipulation
* @throws \OC\DatabaseException
* @return OC_DB_StatementWrapper prepared SQL query
*
@@ -104,7 +104,7 @@ class OC_DB {
* @param mixed $stmt OC_DB_StatementWrapper,
* an array with 'sql' and optionally 'limit' and 'offset' keys
* .. or a simple sql query string
- * @param array $parameters
+ * @param array|null $parameters
* @return OC_DB_StatementWrapper
* @throws \OC\DatabaseException
*/
@@ -151,7 +151,6 @@ class OC_DB {
/**
* saves database schema to xml file
* @param string $file name of file
- * @param int $mode
* @return bool
*
* TODO: write more documentation
@@ -179,6 +178,7 @@ class OC_DB {
* @param string $file file to read structure from
* @throws Exception
* @return string|boolean
+ * @suppress PhanDeprecatedFunction
*/
public static function updateDbFromStructure($file) {
$schemaManager = self::getMDB2SchemaManager();