Skip to content

Commit 8032a8c

Browse files
committed
remove duplicate conditional
1 parent 47b5dad commit 8032a8c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Maker/MakeEntity.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,6 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen
173173
'Entity\\'
174174
);
175175

176-
if (!$this->doctrineHelper->isDoctrineSupportingAttributes() && !$this->doctrineHelper->doesClassUsesAttributes($entityClassDetails->getFullName())) {
177-
throw new RuntimeCommandException('MakerBundle only support entities using attributes.');
178-
}
179-
180176
$classExists = class_exists($entityClassDetails->getFullName());
181177
if (!$classExists) {
182178
$broadcast = $input->getOption('broadcast');

0 commit comments

Comments
 (0)