-- Proposed fix due to logic error.
This commit is contained in:
parent
16a14f2238
commit
db2530d6fd
@ -1154,7 +1154,7 @@ class UnitOfWork implements PropertyChangedListener
|
||||
|
||||
$joinColumns = reset($assoc['joinColumns']);
|
||||
|
||||
$calc->addDependency($targetClass->name, $class->name, (int)empty($joinColumns['nullable']));
|
||||
$calc->addDependency($targetClass->name, $class->name, (int) ! ( ! isset($joinColumns['nullable']) || $joinColumns['nullable'] === true));
|
||||
|
||||
// If the target class has mapped subclasses, these share the same dependency.
|
||||
if ( ! $targetClass->subClasses) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user