1
0
mirror of synced 2025-02-02 21:41:45 +03:00
This commit is contained in:
Javier Spagnoletti 2016-10-04 11:07:37 -03:00 committed by Marco Pivetta
parent d3c604567b
commit 087d081601

View File

@ -1385,11 +1385,11 @@ public function __construct(<params>)
$replacements = array(
'<description>' => ucfirst($type) . ' ' . $variableName . '.',
'<methodTypeHint>' => $methodTypeHint,
'<variableType>' => $variableType.(null !== $defaultValue ? ('|'.$defaultValue) : ''),
'<variableType>' => $variableType . (null !== $defaultValue ? ('|' . $defaultValue) : ''),
'<variableName>' => $variableName,
'<methodName>' => $methodName,
'<fieldName>' => $fieldName,
'<variableDefault>' => ($defaultValue !== null ) ? (' = '.$defaultValue) : '',
'<variableDefault>' => ($defaultValue !== null ) ? (' = ' . $defaultValue) : '',
'<entity>' => $this->getClassName($metadata)
);