Skip to content

Commit d1372e6

Browse files
committedJul 31, 2015
Merge pull request #9 from TomasMihalicka/master
Fixed missing interface
2 parents 1634704 + fb88e31 commit d1372e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎src/DI/Bridge/Symfony/SymfonyContainerBridge.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99

1010
namespace DI\Bridge\Symfony;
1111

12-
use DI\ContainerInterface;
1312
use DI\NotFoundException;
1413
use Symfony\Component\DependencyInjection\Container as SymfonyContainer;
1514
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
1615
use Symfony\Component\DependencyInjection\ContainerInterface as SymfonyContainerInterface;
1716
use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
17+
use Interop\Container\ContainerInterface;
1818

1919
/**
2020
* Replacement for the Symfony service container.

‎tests/UnitTest/DI/Bridge/Symfony/SymfonyContainerBridgeTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function testHasFallback()
1919
{
2020
$wrapper = new SymfonyContainerBridge();
2121

22-
$fallback = $this->getMockForAbstractClass('DI\ContainerInterface');
22+
$fallback = $this->getMockForAbstractClass('Interop\Container\ContainerInterface');
2323
$fallback->expects($this->once())
2424
->method('has')
2525
->with('foo')
@@ -34,7 +34,7 @@ public function testGetFallback()
3434
{
3535
$wrapper = new SymfonyContainerBridge();
3636

37-
$fallback = $this->getMockForAbstractClass('DI\ContainerInterface');
37+
$fallback = $this->getMockForAbstractClass('Interop\Container\ContainerInterface');
3838
$fallback->expects($this->once())
3939
->method('get')
4040
->with('foo')

0 commit comments

Comments
 (0)
Please sign in to comment.