[DDC-2792] Fix fatals
This commit is contained in:
parent
1edf6b65b1
commit
2a9351b8dc
@ -493,6 +493,7 @@ class YamlDriver extends FileDriver
|
|||||||
if ( ! isset($joinColumnElement['name'])) {
|
if ( ! isset($joinColumnElement['name'])) {
|
||||||
$joinColumnElement['name'] = $joinColumnName;
|
$joinColumnElement['name'] = $joinColumnName;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$joinTable['joinColumns'][] = $this->joinColumnToArray($joinColumnElement);
|
$joinTable['joinColumns'][] = $this->joinColumnToArray($joinColumnElement);
|
||||||
}
|
}
|
||||||
@ -502,6 +503,7 @@ class YamlDriver extends FileDriver
|
|||||||
if ( ! isset($joinColumnElement['name'])) {
|
if ( ! isset($joinColumnElement['name'])) {
|
||||||
$joinColumnElement['name'] = $joinColumnName;
|
$joinColumnElement['name'] = $joinColumnName;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$joinTable['inverseJoinColumns'][] = $this->joinColumnToArray($joinColumnElement);
|
$joinTable['inverseJoinColumns'][] = $this->joinColumnToArray($joinColumnElement);
|
||||||
}
|
}
|
||||||
@ -620,7 +622,7 @@ class YamlDriver extends FileDriver
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($entityListener as $eventName => $callbackElement){
|
foreach ($entityListener as $eventName => $callbackElement){
|
||||||
foreach ($callbackElement as $methodName){
|
foreach ($callbackElement as $methodName) {
|
||||||
$metadata->addEntityListener($eventName, $className, $methodName);
|
$metadata->addEntityListener($eventName, $className, $methodName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user