Browse files

Update syntax on comparitor bug

  • Loading branch information...
1 parent 1947a85 commit 726fd1ad5fac64f3003bfcf18134e1dacd999f15 @leedavis81 committed Oct 4, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/Doctrine/DBAL/Schema/Comparator.php
View
3 lib/Doctrine/DBAL/Schema/Comparator.php
@@ -283,8 +283,7 @@ private function detectColumnRenamings(TableDiff $tableDifferences)
$removedColumnName = strtolower($removedColumn->getName());
$addedColumnName = strtolower($addedColumn->getName());
- if (!isset($tableDifferences->renamedColumns[$removedColumnName]))
- {
+ if ( ! isset($tableDifferences->renamedColumns[$removedColumnName])) {
$tableDifferences->renamedColumns[$removedColumnName] = $addedColumn;
unset($tableDifferences->addedColumns[$addedColumnName]);
unset($tableDifferences->removedColumns[$removedColumnName]);

0 comments on commit 726fd1a

Please sign in to comment.