Skip to content

Commit 0fd8d32

Browse files
committed
Don't generate RTE mapping for abstract classes.
1 parent baf017f commit 0fd8d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SchemaOrgModel/TypesGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ public function generate($config)
395395
])
396396
);
397397

398-
if ($config['doctrine']['resolveTargetEntityConfigPath']) {
398+
if ($config['doctrine']['resolveTargetEntityConfigPath'] && !$class['abstract']) {
399399
$interfaceMappings[$class['interfaceNamespace'].'\\'.$class['interfaceName']] = $class['namespace'].'\\'.$className;
400400
}
401401
}

0 commit comments

Comments
 (0)