From 5112a211e1ccb14d2b32e32aa147352c75ed741e Mon Sep 17 00:00:00 2001 From: Emre YILMAZ Date: Thu, 22 Oct 2015 14:57:24 +0300 Subject: [PATCH] Changed asset helper class http://stackoverflow.com/a/31670848 --- Service/Resolver/AssetsResolver.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Service/Resolver/AssetsResolver.php b/Service/Resolver/AssetsResolver.php index 76d2cf7..aa4343a 100644 --- a/Service/Resolver/AssetsResolver.php +++ b/Service/Resolver/AssetsResolver.php @@ -10,7 +10,7 @@ namespace Jb\Bundle\FileUploaderBundle\Service\Resolver; -use Symfony\Component\Templating\Helper\CoreAssetsHelper; +use Symfony\Bundle\FrameworkBundle\Templating\Helper\AssetsHelper; /** * AssetsResolver @@ -20,7 +20,7 @@ class AssetsResolver implements ResolverInterface { /** - * @var \Symfony\Component\Templating\Helper\CoreAssetsHelper + * @var \Symfony\Bundle\FrameworkBundle\Templating\Helper\AssetsHelper */ protected $helper; @@ -35,7 +35,7 @@ class AssetsResolver implements ResolverInterface * @param CoreAssetsHelper $helper * @param string $directory */ - public function __construct(CoreAssetsHelper $helper, $directory) + public function __construct(AssetsHelper $helper, $directory) { $this->helper = $helper; $this->directory = $directory;