1
0
mirror of synced 2025-01-23 16:51:41 +03:00

[DDC-2792] Fix fatals

This commit is contained in:
Benjamin Eberlei 2014-01-03 23:01:05 +01:00
parent 1edf6b65b1
commit 2a9351b8dc

View File

@ -493,6 +493,7 @@ class YamlDriver extends FileDriver
if ( ! isset($joinColumnElement['name'])) {
$joinColumnElement['name'] = $joinColumnName;
}
}
$joinTable['joinColumns'][] = $this->joinColumnToArray($joinColumnElement);
}
@ -502,6 +503,7 @@ class YamlDriver extends FileDriver
if ( ! isset($joinColumnElement['name'])) {
$joinColumnElement['name'] = $joinColumnName;
}
}
$joinTable['inverseJoinColumns'][] = $this->joinColumnToArray($joinColumnElement);
}
@ -620,7 +622,7 @@ class YamlDriver extends FileDriver
}
foreach ($entityListener as $eventName => $callbackElement){
foreach ($callbackElement as $methodName){
foreach ($callbackElement as $methodName) {
$metadata->addEntityListener($eventName, $className, $methodName);
}
}