summaryrefslogtreecommitdiffstats
path: root/lib/db
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-06-27 23:34:36 +0200
committerThomas Mueller <thomas.mueller@tmit.eu>2013-06-27 23:34:36 +0200
commit10951f9bd542a3e0d162194c8737cfb0ef9048b0 (patch)
tree4f341dcfa4351de91f04cf3e851dfafa17775012 /lib/db
parent77dc3964f8c89826e7706ea8cc88da5efdaf8212 (diff)
downloadnextcloud-server-10951f9bd542a3e0d162194c8737cfb0ef9048b0.tar.gz
nextcloud-server-10951f9bd542a3e0d162194c8737cfb0ef9048b0.zip
adding PHPDoc
Diffstat (limited to 'lib/db')
-rw-r--r--lib/db/mdb2schemawriter.php6
-rw-r--r--lib/db/schema.php3
2 files changed, 8 insertions, 1 deletions
diff --git a/lib/db/mdb2schemawriter.php b/lib/db/mdb2schemawriter.php
index a6367a0e354..21b43cbfe80 100644
--- a/lib/db/mdb2schemawriter.php
+++ b/lib/db/mdb2schemawriter.php
@@ -7,6 +7,12 @@
*/
class OC_DB_MDB2SchemaWriter {
+
+ /**
+ * @param $file
+ * @param \Doctrine\DBAL\Schema\AbstractSchemaManager $sm
+ * @return bool
+ */
static public function saveSchemaToFile($file, $sm) {
$xml = new SimpleXMLElement('<database/>');
$xml->addChild('name', OC_Config::getValue( "dbname", "owncloud" ));
diff --git a/lib/db/schema.php b/lib/db/schema.php
index d862f3d25c9..3d5b404825a 100644
--- a/lib/db/schema.php
+++ b/lib/db/schema.php
@@ -12,8 +12,9 @@ class OC_DB_Schema {
/**
* @brief saves database scheme to xml file
+ * @param \Doctrine\DBAL\Connection $conn
* @param string $file name of file
- * @param int $mode
+ * @param int|string $mode
* @return bool
*
* TODO: write more documentation