@@ -15,10 +15,7 @@ |
||
15 | 15 | use samsonframework\container\definition\exception\MethodDefinitionNotFoundException; |
16 | 16 | use samsonframework\container\definition\exception\ParameterDefinitionAlreadyExistsException; |
17 | 17 | use samsonframework\container\definition\exception\PropertyDefinitionNotFoundException; |
18 | -use samsonframework\container\definition\MethodDefinition; |
|
19 | -use samsonframework\container\definition\PropertyDefinition; |
|
20 | 18 | use samsonframework\container\definition\reference\ParameterReference; |
21 | -use samsonframework\container\definition\reference\ServiceReference; |
|
22 | 19 | |
23 | 20 | /** |
24 | 21 | * Injection annotation parameter. |
@@ -185,7 +185,7 @@ |
||
185 | 185 | * |
186 | 186 | * @param DefinitionBuilder $definitionBuilder |
187 | 187 | * @param string $interfaceName |
188 | - * @return string |
|
188 | + * @return ReferenceInterface |
|
189 | 189 | * @throws ImplementerForTypeNotFoundException |
190 | 190 | * TODO Add interface resolvers functionality |
191 | 191 | */ |
@@ -10,8 +10,6 @@ |
||
10 | 10 | use samsonframework\container\definition\exception\MethodDefinitionNotFoundException; |
11 | 11 | use samsonframework\container\definition\exception\PropertyDefinitionNotFoundException; |
12 | 12 | use samsonframework\container\definition\reference\ClassReference; |
13 | -use samsonframework\container\definition\reference\ReferenceInterface; |
|
14 | -use samsonframework\container\definition\reference\ServiceReference; |
|
15 | 13 | use samsonframework\container\definition\scope\AbstractScope; |
16 | 14 | use samsonframework\container\definition\exception\MethodDefinitionAlreadyExistsException; |
17 | 15 | use samsonframework\container\definition\exception\PropertyDefinitionAlreadyExistsException; |