Skip to content

Commit ac9731b

Browse files
committed
Remove namespace alias on \DI\ContainerBuilder
1 parent 672aa79 commit ac9731b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Kernel.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
namespace DI\Bridge\Symfony;
1111

12-
use DI\ContainerBuilder as DiContainerBuilder;
1312
use Psr\Container\ContainerInterface;
1413
use Symfony\Component\Debug\DebugClassLoader;
1514
use Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass;
@@ -38,11 +37,11 @@ public function __construct($environment, $debug)
3837
/**
3938
* Implement this method to configure PHP-DI.
4039
*
41-
* @param DiContainerBuilder $builder
40+
* @param \DI\ContainerBuilder $builder
4241
*
4342
* @return ContainerInterface
4443
*/
45-
abstract protected function buildPHPDIContainer(DiContainerBuilder $builder);
44+
abstract protected function buildPHPDIContainer(\DI\ContainerBuilder $builder);
4645

4746
protected function getContainerBaseClass()
4847
{
@@ -108,7 +107,7 @@ private function disableDebugClassLoader()
108107
protected function getPHPDIContainer()
109108
{
110109
if ($this->phpdiContainer === null) {
111-
$builder = new DiContainerBuilder();
110+
$builder = new \DI\ContainerBuilder();
112111
$builder->wrapContainer($this->getContainer());
113112

114113
$this->phpdiContainer = $this->buildPHPDIContainer($builder);

0 commit comments

Comments
 (0)