Skip to content

Commit 3b0b678

Browse files
committed
Merge pull request #232 from jbouzekri/master
use getter to access metadata reflClass property
2 parents 037e4d0 + 05d4449 commit 3b0b678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Command/GenerateDocumentsDoctrineODMCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
7070
$documentGenerator->setBackupExisting(!$input->getOption('no-backup'));
7171

7272
foreach ($metadatas as $metadata) {
73-
if ($filterDocument && $metadata->reflClass->getShortName() != $filterDocument) {
73+
if ($filterDocument && $metadata->getReflectionClass()->getShortName() != $filterDocument) {
7474
continue;
7575
}
7676

0 commit comments

Comments
 (0)