Fix PHPDoc and remove explicit type hint

This commit is contained in:
Lukas Reschke 2014-10-24 15:49:55 +02:00
parent b3a04840b5
commit f901c5ff08
1 changed files with 2 additions and 2 deletions

View 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);