@@ -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) { |
@@ -223,8 +223,7 @@ |
||
223 | 223 | $DisplayAttributesDetails = $this->checkDisplayAnnotations($class->getName(), $DisplayAttributesDetails); |
224 | 224 | |
225 | 225 | $fields[] = $class->isIdentifier($fieldName) ? |
226 | - '+' . $this->makeFieldName($class, $fieldName, $DisplayAttributesDetails) : |
|
227 | - $this->makeFieldName($class, $fieldName, $DisplayAttributesDetails); |
|
226 | + '+' . $this->makeFieldName($class, $fieldName, $DisplayAttributesDetails) : $this->makeFieldName($class, $fieldName, $DisplayAttributesDetails); |
|
228 | 227 | } |
229 | 228 | } |
230 | 229 |
@@ -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 ''; |