@@ -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 | { |
@@ -267,7 +267,7 @@ |
||
| 267 | 267 | /** |
| 268 | 268 | * Convert xml to array |
| 269 | 269 | * |
| 270 | - * @param $xmlObject |
|
| 270 | + * @param \SimpleXMLElement $xmlObject |
|
| 271 | 271 | * @param array $out |
| 272 | 272 | * @return array |
| 273 | 273 | */ |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | * Get scope from definition |
| 168 | 168 | * |
| 169 | 169 | * @param string $id |
| 170 | - * @return mixed |
|
| 170 | + * @return AbstractScope |
|
| 171 | 171 | * @throws ScopeNotFoundException |
| 172 | 172 | */ |
| 173 | 173 | public function getScope(string $id): AbstractScope |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | } |
| 200 | 200 | |
| 201 | 201 | /** |
| 202 | - * @param string|ClassReference $className |
|
| 202 | + * @param ClassReference $className |
|
| 203 | 203 | * @return ClassDefinition |
| 204 | 204 | * @throws \InvalidArgumentException |
| 205 | 205 | */ |
@@ -320,7 +320,7 @@ discard block |
||
| 320 | 320 | /** |
| 321 | 321 | * Get property definition |
| 322 | 322 | * |
| 323 | - * @param $propertyName |
|
| 323 | + * @param string $propertyName |
|
| 324 | 324 | * @return PropertyDefinition |
| 325 | 325 | * @throws PropertyDefinitionNotFoundException |
| 326 | 326 | */ |
@@ -346,7 +346,7 @@ discard block |
||
| 346 | 346 | /** |
| 347 | 347 | * Get method definition |
| 348 | 348 | * |
| 349 | - * @param $methodName |
|
| 349 | + * @param string $methodName |
|
| 350 | 350 | * @return MethodDefinition |
| 351 | 351 | * @throws MethodDefinitionNotFoundException |
| 352 | 352 | */ |