|
@@ -115,7 +115,7 @@ |
|
|
block discarded – undo |
|
115
|
115
|
* @param string $relationAlias the previous relation alias to keep it unique |
|
116
|
116
|
* @param bool $wasLeftJoin if the relation containing the new one had a left join, we have to force the new one to left join too |
|
117
|
117
|
*/ |
|
118
|
|
- private function joinRelations(QueryBuilder $queryBuilder, string $resourceClass, array $propertyMetadataOptions = [], string $originAlias = 'o', string &$relationAlias = 'a', bool $wasLeftJoin = false, $depth = 0) |
|
|
118
|
+ private function joinRelations(QueryBuilder $queryBuilder, string $resourceClass, array $propertyMetadataOptions = [], string $originAlias = 'o', string & $relationAlias = 'a', bool $wasLeftJoin = false, $depth = 0) |
|
119
|
119
|
{ |
|
120
|
120
|
if ($depth > self::MAX_DEPTH) { |
|
121
|
121
|
throw new \RuntimeException('Too many joined relations, might be an infinite loop! Check out serialization groups!'); |
Please login to merge, or discard this patch.