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