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 committed Dec 4, 2017
1 parent b513b79 commit d85a81c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function items(ItemsEvent $event)
$useDoctrineOutputWalker = false;
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 d85a81c

Please sign in to comment.