Skip to content

Commit

Permalink
Fix OutputWalker conflict KnpLabs#181
Browse files Browse the repository at this point in the history
  • Loading branch information
aminin authored Nov 30, 2017
1 parent b513b79 commit 7a7b42f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public function items(ItemsEvent $event)
if (version_compare(\Doctrine\ORM\Version::VERSION, '2.3.0', '>=')) {
$useDoctrineWalkers = true;
$useDoctrineOutputWalker = true;
$useDoctrineOutputWalker = ($event->target->getHint(Query::HINT_CUSTOM_OUTPUT_WALKER) === false);
} else if (version_compare(\Doctrine\ORM\Version::VERSION, '2.2.0', '>=')) {
$useDoctrineWalkers = true;
}
Expand Down

0 comments on commit 7a7b42f

Please sign in to comment.