Skip to content

Commit 8d98018

Browse files
fix: remove collection_operation_name legacy key
1 parent 43f8df1 commit 8d98018

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Extension/PaginationExtension.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private function shouldDoctrinePaginatorFetchJoinCollection(QueryBuilder $queryB
134134
{
135135
$fetchJoinCollection = $operation?->getPaginationFetchJoinCollection();
136136

137-
if ((isset($context['collection_operation_name']) || isset($context['operation_name'])) && isset($fetchJoinCollection)) {
137+
if (isset($context['operation_name']) && isset($fetchJoinCollection)) {
138138
return $fetchJoinCollection;
139139
}
140140

@@ -167,7 +167,7 @@ private function shouldDoctrinePaginatorUseOutputWalkers(QueryBuilder $queryBuil
167167
{
168168
$useOutputWalkers = $operation?->getPaginationUseOutputWalkers();
169169

170-
if ((isset($context['collection_operation_name']) || isset($context['operation_name'])) && isset($useOutputWalkers)) {
170+
if (isset($context['operation_name']) && isset($useOutputWalkers)) {
171171
return $useOutputWalkers;
172172
}
173173

0 commit comments

Comments
 (0)