@@ -202,8 +202,7 @@ |
||
| 202 | 202 | //$showTypes = $this->getClassAttrPropsDisplay($class->getName(), $showTypes); |
| 203 | 203 | |
| 204 | 204 | $fields[] = $class->isIdentifier($fieldName) ? |
| 205 | - '+' . $this->makeFieldName($class, $fieldName, $DisplayAttributesDetails) : |
|
| 206 | - $this->makeFieldName($class, $fieldName, $DisplayAttributesDetails); |
|
| 205 | + '+' . $this->makeFieldName($class, $fieldName, $DisplayAttributesDetails) : $this->makeFieldName($class, $fieldName, $DisplayAttributesDetails); |
|
| 207 | 206 | } |
| 208 | 207 | |
| 209 | 208 | return $fields; |
@@ -78,7 +78,6 @@ discard block |
||
| 78 | 78 | * Build the string representing the single graph item |
| 79 | 79 | * |
| 80 | 80 | * @param ClassMetadata $class |
| 81 | - * @param bool $showFieldsDescription |
|
| 82 | 81 | * @return string |
| 83 | 82 | */ |
| 84 | 83 | public function getClassString(ClassMetadata $class) |
@@ -248,6 +247,9 @@ discard block |
||
| 248 | 247 | return $class1->getAssociationMapping($association)['mappedBy']; |
| 249 | 248 | } |
| 250 | 249 | |
| 250 | + /** |
|
| 251 | + * @param boolean $showTypes |
|
| 252 | + */ |
|
| 251 | 253 | private function makeFieldName(ClassMetadata $class, $fieldName, $showTypes) |
| 252 | 254 | { |
| 253 | 255 | if ($showTypes) { |