|
@@ -127,7 +127,7 @@ |
|
|
block discarded – undo |
|
127
|
127
|
* |
|
128
|
128
|
* @throws RuntimeException when the max number of joins has been reached |
|
129
|
129
|
*/ |
|
130
|
|
- private function joinRelations(QueryBuilder $queryBuilder, string $resourceClass, bool $forceEager, array $propertyMetadataOptions = [], string $originAlias = 'o', string &$relationAlias = 'a', bool $wasLeftJoin = false, int &$joinCount = 0) |
|
|
130
|
+ private function joinRelations(QueryBuilder $queryBuilder, string $resourceClass, bool $forceEager, array $propertyMetadataOptions = [], string $originAlias = 'o', string & $relationAlias = 'a', bool $wasLeftJoin = false, int & $joinCount = 0) |
|
131
|
131
|
{ |
|
132
|
132
|
if ($joinCount > $this->maxJoins) { |
|
133
|
133
|
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.