summaryrefslogtreecommitdiffstats
path: root/lib/private/migration/content.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/migration/content.php')
-rw-r--r--lib/private/migration/content.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/private/migration/content.php b/lib/private/migration/content.php
index d6eee40786e..e7b6543171a 100644
--- a/lib/private/migration/content.php
+++ b/lib/private/migration/content.php
@@ -35,7 +35,7 @@ class OC_Migration_Content{
/**
* @brief sets up the
* @param $zip ZipArchive object
- * @param optional $db a database object (required for exporttype user)
+ * @param $db a database object (required for exporttype user)
* @return bool
*/
public function __construct( $zip, $db=null ) {
@@ -47,6 +47,10 @@ class OC_Migration_Content{
// @brief prepares the db
// @param $query the sql query to prepare
+
+ /**
+ * @param string $query
+ */
public function prepare( $query ) {
// Only add database to tmpfiles if actually used
@@ -165,7 +169,7 @@ class OC_Migration_Content{
/**
* @brief adds a directory to the zip object
- * @param $dir string path of the directory to add
+ * @param boolean|string $dir string path of the directory to add
* @param $recursive bool
* @param $internaldir string path of folder to add dir to in zip
* @return bool
@@ -200,8 +204,8 @@ class OC_Migration_Content{
/**
* @brief adds a file to the zip from a given string
- * @param $data string of data to add
- * @param $path the relative path inside of the zip to save the file to
+ * @param string $data string of data to add
+ * @param string $path the relative path inside of the zip to save the file to
* @return bool
*/
public function addFromString( $data, $path ) {