mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-11 20:27:04 +02:00
[ticket/14891] Remove unused use statements
PHPBB3-14891
This commit is contained in:
@ -14,7 +14,6 @@
|
|||||||
namespace phpbb\di;
|
namespace phpbb\di;
|
||||||
|
|
||||||
use phpbb\filesystem\filesystem;
|
use phpbb\filesystem\filesystem;
|
||||||
use Symfony\Bridge\ProxyManager\LazyProxy\Instantiator\RuntimeInstantiator;
|
|
||||||
use Symfony\Bridge\ProxyManager\LazyProxy\PhpDumper\ProxyDumper;
|
use Symfony\Bridge\ProxyManager\LazyProxy\PhpDumper\ProxyDumper;
|
||||||
use Symfony\Component\Config\ConfigCache;
|
use Symfony\Component\Config\ConfigCache;
|
||||||
use Symfony\Component\Config\FileLocator;
|
use Symfony\Component\Config\FileLocator;
|
||||||
|
@ -17,7 +17,6 @@ use \bantu\IniGetWrapper\IniGetWrapper;
|
|||||||
use ProxyManager\Configuration;
|
use ProxyManager\Configuration;
|
||||||
use ProxyManager\Factory\LazyLoadingValueHolderFactory;
|
use ProxyManager\Factory\LazyLoadingValueHolderFactory;
|
||||||
use ProxyManager\GeneratorStrategy\EvaluatingGeneratorStrategy;
|
use ProxyManager\GeneratorStrategy\EvaluatingGeneratorStrategy;
|
||||||
use ProxyManager\Proxy\LazyLoadingInterface;
|
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Component\DependencyInjection\Definition;
|
use Symfony\Component\DependencyInjection\Definition;
|
||||||
use Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface;
|
use Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface;
|
||||||
@ -62,7 +61,7 @@ class proxy_instantiator implements InstantiatorInterface
|
|||||||
{
|
{
|
||||||
return $this->factory->createProxy(
|
return $this->factory->createProxy(
|
||||||
$definition->getClass(),
|
$definition->getClass(),
|
||||||
function (&$wrappedInstance, LazyLoadingInterface $proxy) use ($realInstantiator) {
|
function (&$wrappedInstance, \ProxyManager\Proxy\LazyLoadingInterface $proxy) use ($realInstantiator) {
|
||||||
$wrappedInstance = call_user_func($realInstantiator);
|
$wrappedInstance = call_user_func($realInstantiator);
|
||||||
|
|
||||||
$proxy->setProxyInitializer(null);
|
$proxy->setProxyInitializer(null);
|
||||||
|
Reference in New Issue
Block a user