@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Gr8abbasi\Container; |
| 4 | 4 | |
| 5 | -use Interop\Container\ContainerInterface; |
|
| 6 | -use Gr8abbasi\Container\Exception\NotFoundException; |
|
| 7 | 5 | use Gr8abbasi\Container\Exception\ContainerException; |
| 6 | +use Gr8abbasi\Container\Exception\NotFoundException; |
|
| 8 | 7 | use Gr8abbasi\Container\Factory\ConfigFileServiceFactory; |
| 9 | 8 | use Gr8abbasi\Container\Repository\InMemoryServiceRepository; |
| 9 | +use Interop\Container\ContainerInterface; |
|
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * Container Class |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | public function get($serviceId) |
| 16 | 16 | { |
| 17 | - if(!isset($this->serviceStore[$serviceId]) || !isset($serviceId)){ |
|
| 17 | + if (!isset($this->serviceStore[$serviceId]) || !isset($serviceId)) { |
|
| 18 | 18 | return Null; |
| 19 | 19 | } |
| 20 | 20 | |