@@ -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) { |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | */ |
32 | 32 | private function getFieldLength($fullField) |
33 | 33 | { |
34 | - return $fullField['type'] === 'string' && isset($fullField['length']) ? ' (' . $fullField['length'] .')' : ''; |
|
34 | + return $fullField['type'] === 'string' && isset($fullField['length']) ? ' (' . $fullField['length'] . ')' : ''; |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | /** |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | private function getDecimalPrecision($fullField) |
55 | 55 | { |
56 | 56 | if (isset($fullField['precision']) && isset($fullField['scale'])) { |
57 | - return ' ('. $fullField['precision'] . ' - ' . $fullField['scale'] . ')'; |
|
57 | + return ' (' . $fullField['precision'] . ' - ' . $fullField['scale'] . ')'; |
|
58 | 58 | } |
59 | 59 | |
60 | 60 | return ''; |