@@ -57,7 +57,6 @@ |
||
| 57 | 57 | * Container builder constructor. |
| 58 | 58 | * |
| 59 | 59 | * @param Generator $generator PHP code generator |
| 60 | - * @param ClassMetadata[] $classMetadata Collection of classes metadata for container |
|
| 61 | 60 | */ |
| 62 | 61 | public function __construct(Generator $generator) |
| 63 | 62 | { |
@@ -169,7 +169,7 @@ |
||
| 169 | 169 | * Get scope from definition |
| 170 | 170 | * |
| 171 | 171 | * @param string $id |
| 172 | - * @return mixed |
|
| 172 | + * @return AbstractScope |
|
| 173 | 173 | * @throws ScopeNotFoundException |
| 174 | 174 | */ |
| 175 | 175 | public function getScope(string $id): AbstractScope |
@@ -7,14 +7,12 @@ |
||
| 7 | 7 | */ |
| 8 | 8 | namespace samsonframework\container\definition; |
| 9 | 9 | |
| 10 | -use samsonframework\container\definition\reference\ReferenceInterface; |
|
| 11 | 10 | use samsonframework\container\definition\scope\AbstractScope; |
| 12 | 11 | use samsonframework\container\exception\MethodDefinitionAlreadyExistsException; |
| 13 | 12 | use samsonframework\container\exception\PropertyDefinitionAlreadyExistsException; |
| 14 | 13 | use samsonframework\container\exception\ScopeAlreadyExistsException; |
| 15 | 14 | use samsonframework\container\exception\ScopeNotFoundException; |
| 16 | 15 | use samsonframework\container\metadata\ClassMetadata; |
| 17 | -use samsonframework\container\metadata\MethodMetadata; |
|
| 18 | 16 | |
| 19 | 17 | /** |
| 20 | 18 | * Class ClassDefinition |