|
@@ -125,7 +125,7 @@ |
|
|
block discarded – undo |
|
125
|
125
|
* |
|
126
|
126
|
* @throws RuntimeException when the max number of joins has been reached |
|
127
|
127
|
*/ |
|
128
|
|
- private function joinRelations(QueryBuilder $queryBuilder, QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, bool $forceEager, array $propertyMetadataOptions = [], string $parentAlias, bool $wasLeftJoin = false, int &$joinCount = 0) |
|
|
128
|
+ private function joinRelations(QueryBuilder $queryBuilder, QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, bool $forceEager, array $propertyMetadataOptions = [], string $parentAlias, bool $wasLeftJoin = false, int & $joinCount = 0) |
|
129
|
129
|
{ |
|
130
|
130
|
if ($joinCount > $this->maxJoins) { |
|
131
|
131
|
throw new RuntimeException('The total number of joined relations has exceeded the specified maximum. Raise the limit if necessary.'); |
Please login to merge, or discard this patch.