Skip to content

Commit

Permalink
remove interface check at all
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectricMaxxx committed Sep 26, 2017
1 parent 80687cc commit e190dc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class TemplatingValidatorPass implements CompilerPassInterface
*/
public function process(ContainerBuilder $container)
{
if (interface_exists('Symfony\Bundle\FrameworkBundle\Templating\EngineInterface') && $container->has('templating')) {
if ($container->has('templating')) {
$templatingDefinition = $container->findDefinition('templating');
$validatorDefinition = $container->getDefinition('cmf_routing.validator.route_defaults');
$validatorDefinition->setClass(RouteDefaultsTemplatingValidator::class);
Expand Down

0 comments on commit e190dc4

Please sign in to comment.