]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix PHPDoc and remove explicit type hint
authorLukas Reschke <lukas@owncloud.com>
Fri, 24 Oct 2014 13:49:55 +0000 (15:49 +0200)
committerLukas Reschke <lukas@owncloud.com>
Fri, 24 Oct 2014 13:49:55 +0000 (15:49 +0200)
lib/private/db/mdb2schemamanager.php

index 1f2dbbe70d10396e2c6e1bb34f0836bf325e45b7..632e320576c270318fdf78468f30103b34e70c79 100644 (file)
@@ -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);