Skip to content

Commit

Permalink
Update MergeColumns.php
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy-j committed Aug 19, 2019
1 parent f41732b commit e06c503
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/MergeColumns.php
Expand Up @@ -17,6 +17,9 @@
use Doctrine\Common\Annotations\AnnotationException as DoctrineException;
use Doctrine\Common\Annotations\AnnotationReader;

/**
* Copy column definitions from Mapper/Repository to Entity.
*/
final class MergeColumns implements GeneratorInterface
{
/** @var AnnotationReader */
Expand Down Expand Up @@ -90,4 +93,4 @@ protected function copy(EntitySchema $e, ?string $class)
// additional columns (mapped to local fields automatically)
$this->generator->initColumns($e, $table->getColumns(), $class);
}
}
}

0 comments on commit e06c503

Please sign in to comment.