summaryrefslogtreecommitdiffstats
path: root/lib/private/migration
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-11 21:51:30 +0100
committerRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-13 19:08:14 +0100
commit87b548ed91c03f051a93cc39bf94650922c1f55f (patch)
tree1c2a03d338f3c9a9e729b08d66c83ef9a55782f2 /lib/private/migration
parenta7ae2e874a28aed2c190840634db50a19ab1d2e7 (diff)
downloadnextcloud-server-87b548ed91c03f051a93cc39bf94650922c1f55f.tar.gz
nextcloud-server-87b548ed91c03f051a93cc39bf94650922c1f55f.zip
Fix all PHPDoc types and variable names, in /lib
Diffstat (limited to 'lib/private/migration')
-rw-r--r--lib/private/migration/content.php16
1 files changed, 7 insertions, 9 deletions
diff --git a/lib/private/migration/content.php b/lib/private/migration/content.php
index b0e7a4e9528..d3b2fe836a4 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 ZipArchive $zip ZipArchive object
- * @param $db a database object (required for exporttype user)
+ * @param object $db a database object (required for exporttype user)
* @return bool|null
*/
public function __construct( $zip, $db=null ) {
@@ -45,11 +45,9 @@ class OC_Migration_Content{
}
- // @brief prepares the db
- // @param $query the sql query to prepare
-
/**
- * @param string $query
+ * @brief prepares the db
+ * @param string $query the sql query to prepare
*/
public function prepare( $query ) {
@@ -88,7 +86,7 @@ class OC_Migration_Content{
/**
* @brief copys rows to migration.db from the main database
- * @param $options array of options.
+ * @param array $options array of options.
* @return bool
*/
public function copyRows( $options ) {
@@ -131,7 +129,7 @@ class OC_Migration_Content{
/**
* @brief saves a sql data set into migration.db
* @param OC_DB_StatementWrapper $data a sql data set returned from self::prepare()->query()
- * @param $options array of copyRows options
+ * @param array $options array of copyRows options
* @return void
*/
private function insertData( $data, $options ) {
@@ -170,8 +168,8 @@ class OC_Migration_Content{
/**
* @brief adds a directory to the zip object
* @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
+ * @param bool $recursive
+ * @param string $internaldir path of folder to add dir to in zip
* @return bool
*/
public function addDir( $dir, $recursive=true, $internaldir='' ) {