@@ -2,12 +2,12 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Gr8abbasi\Container; |
| 4 | 4 | |
| 5 | -use Interop\Container\ContainerInterface; |
|
| 6 | -use Gr8abbasi\Container\Exception\NotFoundException; |
|
| 5 | +use Gr8abbasi\Container\Exception\CircularDependencyException; |
|
| 7 | 6 | use Gr8abbasi\Container\Exception\ContainerException; |
| 7 | +use Gr8abbasi\Container\Exception\NotFoundException; |
|
| 8 | 8 | use Gr8abbasi\Container\Factory\ConfigFileServiceFactory; |
| 9 | 9 | use Gr8abbasi\Container\Repository\InMemoryServiceRepository; |
| 10 | -use Gr8abbasi\Container\Exception\CircularDependencyException; |
|
| 10 | +use Interop\Container\ContainerInterface; |
|
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | 13 | * Container Class |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | $class = new \ReflectionClass($service['class']); |
| 45 | - $arguments = isset($service['arguments']) ? $service['arguments'] : [] ; |
|
| 45 | + $arguments = isset($service['arguments']) ? $service['arguments'] : []; |
|
| 46 | 46 | |
| 47 | 47 | return $class->newInstanceArgs( |
| 48 | 48 | $this->resolveArguments( |