diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-10-24 15:49:55 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-10-24 15:49:55 +0200 |
commit | f901c5ff08328f3e27547c4a96fcf360d6a92e58 (patch) | |
tree | cfaaa7d643dc0a8bdfb3ccff2c26dcffd5d15625 /lib/private/db | |
parent | b3a04840b54464457298807d6609d525d68d8953 (diff) | |
download | nextcloud-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.php | 4 |
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); |