From 8d318f37a96486ace2f377a1fd656a43215f3a10 Mon Sep 17 00:00:00 2001 From: Bertrand Dunogier Date: Fri, 30 Jan 2015 12:26:44 +0100 Subject: [PATCH] Fixed SensioLabs Insight failures --- bundle/LegacyMapper/LegacyBundles.php | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/bundle/LegacyMapper/LegacyBundles.php b/bundle/LegacyMapper/LegacyBundles.php index 51423fda..dbb0bea4 100644 --- a/bundle/LegacyMapper/LegacyBundles.php +++ b/bundle/LegacyMapper/LegacyBundles.php @@ -9,9 +9,8 @@ namespace eZ\Bundle\EzPublishLegacyBundle\LegacyMapper; -use eZ\Publish\Core\MVC\Legacy\LegacyEvents; use eZ\Publish\Core\MVC\Legacy\Event\PreBuildKernelEvent; -use eZ\Publish\Core\MVC\ConfigResolverInterface; +use eZ\Publish\Core\MVC\Legacy\LegacyEvents; use Symfony\Component\EventDispatcher\EventSubscriberInterface; /** @@ -19,11 +18,6 @@ */ class LegacyBundles implements EventSubscriberInterface { - /** - * @var \eZ\Publish\Core\MVC\ConfigResolverInterface - */ - private $configResolver; - /** * @var array */ @@ -36,12 +30,8 @@ class LegacyBundles implements EventSubscriberInterface */ private $enabled = true; - public function __construct( - ConfigResolverInterface $configResolver, - array $options = array() - ) + public function __construct( array $options = array() ) { - $this->configResolver = $configResolver; $this->options = $options; }