|
@@ -105,7 +105,7 @@ discard block |
|
|
block discarded – undo |
|
105
|
105
|
$targetClassName = $class1->getAssociationTargetClass($association); |
|
106
|
106
|
$class2 = $this->classStore->getClassByName($targetClassName); |
|
107
|
107
|
$isInverse = $class1->isAssociationInverseSide($association); |
|
108
|
|
- $associationCount = $this->getClassCount($class1, $association); |
|
|
108
|
+ $associationCount = $this->getClassCount($class1, $association); |
|
109
|
109
|
|
|
110
|
110
|
if (null === $class2) { |
|
111
|
111
|
return $this->stringHelper->makeSingleSidedLinkString( |
|
@@ -119,13 +119,13 @@ discard block |
|
|
block discarded – undo |
|
119
|
119
|
|
|
120
|
120
|
$reverseAssociationName = $this->getClassReverseAssociationName($class1, $association); |
|
121
|
121
|
|
|
122
|
|
- $reverseAssociationCount = 0; |
|
123
|
|
- $bidirectional = false; |
|
|
122
|
+ $reverseAssociationCount = 0; |
|
|
123
|
+ $bidirectional = false; |
|
124
|
124
|
|
|
125
|
125
|
if (null !== $reverseAssociationName |
|
126
|
126
|
&& ($isInverse || $class2->isAssociationInverseSide($reverseAssociationName))) { |
|
127
|
|
- $reverseAssociationCount = $this->getClassCount($class2, $reverseAssociationName); |
|
128
|
|
- $bidirectional = true; |
|
|
127
|
+ $reverseAssociationCount = $this->getClassCount($class2, $reverseAssociationName); |
|
|
128
|
+ $bidirectional = true; |
|
129
|
129
|
} |
|
130
|
130
|
|
|
131
|
131
|
$this->associationLogger->visitAssociation($targetClassName, $reverseAssociationName); |
Please login to merge, or discard this patch.