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.
2 parents 9ab29eb + 25f8331 commit ed9c195Copy full SHA for ed9c195
src/TypesGenerator.php
@@ -438,7 +438,7 @@ public function generate(array $config): void
438
}
439
440
441
- if (!$interfaceMappings && $config['doctrine']['resolveTargetEntityConfigPath']) {
+ if (\count($interfaceMappings) > 0 && $config['doctrine']['resolveTargetEntityConfigPath']) {
442
$file = $config['output'].'/'.$config['doctrine']['resolveTargetEntityConfigPath'];
443
$dir = \dirname($file);
444
if (!file_exists($dir)) {
0 commit comments