Skip to content

Commit

Permalink
Update KnpPaginatorBundle.php
Browse files Browse the repository at this point in the history
The other CompilerPass needed the same fix.  This is for the "knp_paginator.subscriber" tag.
  • Loading branch information
tavish committed Aug 20, 2014
1 parent 3a87e32 commit 041ea69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KnpPaginatorBundle.php
Expand Up @@ -23,7 +23,7 @@ class KnpPaginatorBundle extends Bundle
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new PaginatorConfigurationPass());
$container->addCompilerPass(new PaginatorConfigurationPass(), PassConfig::TYPE_BEFORE_REMOVING);
$container->addCompilerPass(new PaginatorAwarePass(), PassConfig::TYPE_BEFORE_REMOVING);
}
}

0 comments on commit 041ea69

Please sign in to comment.