aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-12-09 08:56:16 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-12-09 09:33:21 +0100
commit5f56e9025b276419578507ddbab933183649b47d (patch)
treebbbe9e0b5336bc9911900f1bf8b218c94b2838a9
parent7fedc19cc422a00ad460f7f9dc41e916c67073ef (diff)
downloadforums-5f56e9025b276419578507ddbab933183649b47d.tar
forums-5f56e9025b276419578507ddbab933183649b47d.tar.gz
forums-5f56e9025b276419578507ddbab933183649b47d.tar.bz2
forums-5f56e9025b276419578507ddbab933183649b47d.tar.xz
forums-5f56e9025b276419578507ddbab933183649b47d.zip
[ticket/14891] Remove unused use statements
PHPBB3-14891
-rw-r--r--phpBB/phpbb/di/container_builder.php1
-rw-r--r--phpBB/phpbb/di/proxy_instantiator.php3
2 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/phpbb/di/container_builder.php b/phpBB/phpbb/di/container_builder.php
index 6412ccea46..4d5f189f12 100644
--- a/phpBB/phpbb/di/container_builder.php
+++ b/phpBB/phpbb/di/container_builder.php
@@ -14,7 +14,6 @@
namespace phpbb\di;
use phpbb\filesystem\filesystem;
-use Symfony\Bridge\ProxyManager\LazyProxy\Instantiator\RuntimeInstantiator;
use Symfony\Bridge\ProxyManager\LazyProxy\PhpDumper\ProxyDumper;
use Symfony\Component\Config\ConfigCache;
use Symfony\Component\Config\FileLocator;
diff --git a/phpBB/phpbb/di/proxy_instantiator.php b/phpBB/phpbb/di/proxy_instantiator.php
index 28d9972cd7..1f51100493 100644
--- a/phpBB/phpbb/di/proxy_instantiator.php
+++ b/phpBB/phpbb/di/proxy_instantiator.php
@@ -17,7 +17,6 @@ use \bantu\IniGetWrapper\IniGetWrapper;
use ProxyManager\Configuration;
use ProxyManager\Factory\LazyLoadingValueHolderFactory;
use ProxyManager\GeneratorStrategy\EvaluatingGeneratorStrategy;
-use ProxyManager\Proxy\LazyLoadingInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Definition;
use Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface;
@@ -62,7 +61,7 @@ class proxy_instantiator implements InstantiatorInterface
{
return $this->factory->createProxy(
$definition->getClass(),
- function (&$wrappedInstance, LazyLoadingInterface $proxy) use ($realInstantiator) {
+ function (&$wrappedInstance, \ProxyManager\Proxy\LazyLoadingInterface $proxy) use ($realInstantiator) {
$wrappedInstance = call_user_func($realInstantiator);
$proxy->setProxyInitializer(null);