From: Lukas Reschke Date: Fri, 24 Oct 2014 13:49:55 +0000 (+0200) Subject: Fix PHPDoc and remove explicit type hint X-Git-Tag: v8.0.0alpha1~440^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f901c5ff08328f3e27547c4a96fcf360d6a92e58;p=nextcloud-server.git Fix PHPDoc and remove explicit type hint --- 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);