We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4143a9 commit e1c2b11Copy full SHA for e1c2b11
src/Doctrine/EntityRegenerator.php
@@ -202,9 +202,9 @@ private function createClassManipulator(string $classPath): ClassSourceManipulat
202
sourceCode: $this->fileManager->getFileContents($classPath),
203
overwrite: $this->overwrite,
204
// if properties need to be generated then, by definition,
205
- // some non-annotation config is being used, and so, the
+ // some non-annotation config is being used (e.g. XML), and so, the
206
// properties should not have annotations added to them
207
- useAttributesForDoctrineMapping: true // We always want to use attributes?
+ useAttributesForDoctrineMapping: false
208
);
209
}
210
0 commit comments