|
@@ -97,7 +97,7 @@ |
|
|
block discarded – undo |
|
97
|
97
|
* |
|
98
|
98
|
* @throws RuntimeException when the max number of joins has been reached |
|
99
|
99
|
*/ |
|
100
|
|
- private function joinRelations(QueryBuilder $queryBuilder, QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, bool $forceEager, string $parentAlias, array $propertyMetadataOptions = [], bool $wasLeftJoin = false, int &$joinCount = 0) |
|
|
100
|
+ private function joinRelations(QueryBuilder $queryBuilder, QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, bool $forceEager, string $parentAlias, array $propertyMetadataOptions = [], bool $wasLeftJoin = false, int & $joinCount = 0) |
|
101
|
101
|
{ |
|
102
|
102
|
if ($joinCount > $this->maxJoins) { |
|
103
|
103
|
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.