mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-23 03:38:52 +00:00
[ticket/14891] Remove unused use statements
PHPBB3-14891
This commit is contained in:
parent
7fedc19cc4
commit
5f56e9025b
2 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue