@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Alchemy\PhraseanetBundle\DependencyInjection\Builder; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\Cache\ArrayCache; |
| 6 | -use Doctrine\Common\Cache\FileCache; |
|
| 7 | 6 | use Doctrine\Common\Cache\MemcachedCache; |
| 8 | 7 | use Doctrine\Common\Cache\PhpFileCache; |
| 9 | 8 | use Doctrine\Common\Cache\RedisCache; |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use ProxyManager\Configuration; |
| 8 | 8 | use ProxyManager\Factory\LazyLoadingValueHolderFactory; |
| 9 | 9 | use ProxyManager\Proxy\LazyLoadingInterface; |
| 10 | -use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
|
| 11 | 10 | |
| 12 | 11 | class EntityManagerFactory |
| 13 | 12 | { |
@@ -44,8 +44,7 @@ |
||
| 44 | 44 | |
| 45 | 45 | try { |
| 46 | 46 | return $this->fieldsMap->getFieldName($alias, $locale); |
| 47 | - } |
|
| 48 | - catch (\OutOfBoundsException $exception) { |
|
| 47 | + } catch (\OutOfBoundsException $exception) { |
|
| 49 | 48 | if ($locale !== $this->defaultLocale) { |
| 50 | 49 | return $this->getFieldName($alias, $this->defaultLocale); |
| 51 | 50 | } |