after review
This commit is contained in:
parent
c0fc4f1158
commit
bcc7983934
@ -1155,9 +1155,8 @@ class UnitOfWork implements PropertyChangedListener
|
|||||||
}
|
}
|
||||||
|
|
||||||
$joinColumns = reset($assoc['joinColumns']);
|
$joinColumns = reset($assoc['joinColumns']);
|
||||||
$weight = (int)empty($joinColumns['nullable']);
|
|
||||||
|
|
||||||
$calc->addDependency($targetClass->name, $class->name, $weight);
|
$calc->addDependency($targetClass->name, $class->name, (int)empty($joinColumns['nullable']));
|
||||||
|
|
||||||
// If the target class has mapped subclasses, these share the same dependency.
|
// If the target class has mapped subclasses, these share the same dependency.
|
||||||
if ( ! $targetClass->subClasses) {
|
if ( ! $targetClass->subClasses) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user