Skip to content

Commit c666da7

Browse files
committed
yup we still need this to support xml mapping
1 parent 387b57d commit c666da7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Doctrine/EntityRegenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,9 @@ private function createClassManipulator(string $classPath): ClassSourceManipulat
202202
sourceCode: $this->fileManager->getFileContents($classPath),
203203
overwrite: $this->overwrite,
204204
// if properties need to be generated then, by definition,
205-
// some non-annotation config is being used, and so, the
205+
// some non-annotation config is being used (e.g. XML), and so, the
206206
// properties should not have annotations added to them
207-
useAttributesForDoctrineMapping: true // We always want to use attributes?
207+
useAttributesForDoctrineMapping: false
208208
);
209209
}
210210

0 commit comments

Comments
 (0)