summaryrefslogtreecommitdiffstats
path: root/lib/private/db
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-24 15:49:55 +0200
committerLukas Reschke <lukas@owncloud.com>2014-10-24 15:49:55 +0200
commitf901c5ff08328f3e27547c4a96fcf360d6a92e58 (patch)
treecfaaa7d643dc0a8bdfb3ccff2c26dcffd5d15625 /lib/private/db
parentb3a04840b54464457298807d6609d525d68d8953 (diff)
downloadnextcloud-server-f901c5ff08328f3e27547c4a96fcf360d6a92e58.tar.gz
nextcloud-server-f901c5ff08328f3e27547c4a96fcf360d6a92e58.zip
Fix PHPDoc and remove explicit type hint
Diffstat (limited to 'lib/private/db')
-rw-r--r--lib/private/db/mdb2schemamanager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/db/mdb2schemamanager.php b/lib/private/db/mdb2schemamanager.php
index 1f2dbbe70d1..632e320576c 100644
--- a/lib/private/db/mdb2schemamanager.php
+++ b/lib/private/db/mdb2schemamanager.php
@@ -144,10 +144,10 @@ class MDB2SchemaManager {
}
/**
- * @param \Doctrine\DBAL\Schema\Schema $schema
+ * @param \Doctrine\DBAL\Schema\Schema|\Doctrine\DBAL\Schema\SchemaDiff $schema
* @return bool
*/
- private function executeSchemaChange(\Doctrine\DBAL\Schema\Schema $schema) {
+ private function executeSchemaChange($schema) {
$this->conn->beginTransaction();
foreach ($schema->toSql($this->conn->getDatabasePlatform()) as $sql) {
$this->conn->query($sql);