Improoved coding standards
This commit is contained in:
parent
d4059b88ca
commit
5f80b57554
@ -660,8 +660,6 @@ public function <methodName>()
|
||||
$joinColumns = $associationMapping['joinColumns'];
|
||||
} else {
|
||||
//@todo thereis no way to retreive targetEntity metadata
|
||||
//$targetMetadata = $this->getClassMetadata($associationMapping['targetEntity']);
|
||||
//$joinColumns = $targetMetadata->associationMappings[$associationMapping["mappedBy"]]['joinColumns'];
|
||||
$joinColumns = array();
|
||||
}
|
||||
foreach ($joinColumns as $joinColumn) {
|
||||
@ -756,7 +754,7 @@ public function <methodName>()
|
||||
'<variableName>' => Inflector::camelize($fieldName),
|
||||
'<methodName>' => $methodName,
|
||||
'<fieldName>' => $fieldName,
|
||||
'<variableDefault>' => ($defaultValue!==null?('='.$defaultValue):''),
|
||||
'<variableDefault>' => (($defaultValue !== null ) ? ('='.$defaultValue) : ''),
|
||||
'<entity>' => $this->_getClassName($metadata)
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user