@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | * @param array $construct |
| 168 | 168 | * @param array $properties |
| 169 | 169 | * @param array $methods |
| 170 | - * @return Definition\Definition |
|
| 170 | + * @return BindDefinition |
|
| 171 | 171 | */ |
| 172 | 172 | public function bindSingleton( |
| 173 | 173 | $key, |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | * @param array $construct |
| 191 | 191 | * @param array $properties |
| 192 | 192 | * @param array $methods |
| 193 | - * @return Definition\Definition |
|
| 193 | + * @return AbstractDefinition |
|
| 194 | 194 | */ |
| 195 | 195 | public function singleton( |
| 196 | 196 | $key, |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | use Njasm\Container\Exception\CircularDependencyException; |
| 13 | 13 | use Njasm\Container\Exception\NotFoundException; |
| 14 | 14 | use Njasm\Container\Exception\ContainerException; |
| 15 | - |
|
| 16 | 15 | use Psr\Container\ContainerInterface; |
| 17 | 16 | |
| 18 | 17 | class Container implements ServiceProviderInterface |