@@ -28,6 +28,9 @@ discard block |
||
28 | 28 | } |
29 | 29 | } |
30 | 30 | |
31 | + /** |
|
32 | + * @param string $containerVariable |
|
33 | + */ |
|
31 | 34 | public static function dumpArguments($argumentsValues, $containerVariable, array $usedVariables) |
32 | 35 | { |
33 | 36 | $arguments = []; |
@@ -46,6 +49,9 @@ discard block |
||
46 | 49 | return new InlineEntry($argumentsCode, $prependedCodeString, $usedVariables); |
47 | 50 | } |
48 | 51 | |
52 | + /** |
|
53 | + * @param string $containerVariable |
|
54 | + */ |
|
49 | 55 | private static function dumpArray(array $value, $containerVariable, array $usedVariables) |
50 | 56 | { |
51 | 57 | $code = array(); |
@@ -64,6 +70,9 @@ discard block |
||
64 | 70 | return new InlineEntry(sprintf('array(%s)', implode(', ', $code)), implode("\n", $prependCode), $usedVariables); |
65 | 71 | } |
66 | 72 | |
73 | + /** |
|
74 | + * @param string $containerVariable |
|
75 | + */ |
|
67 | 76 | private static function dumpDefinition(DumpableInterface $definition, $containerVariable, array $usedVariables) |
68 | 77 | { |
69 | 78 | // If the identifier is null, we must inline the definition. |
@@ -63,7 +63,6 @@ discard block |
||
63 | 63 | |
64 | 64 | /** |
65 | 65 | * @param string $serviceName |
66 | - * @param ServiceProvider $serviceProvider |
|
67 | 66 | * @param int $serviceProviderKey |
68 | 67 | * @param callable $callable |
69 | 68 | * |
@@ -120,11 +119,12 @@ discard block |
||
120 | 119 | } |
121 | 120 | |
122 | 121 | /** |
123 | - * @param $serviceName |
|
122 | + * @param string $serviceName |
|
124 | 123 | * @param int $serviceProviderKey |
125 | 124 | * @param callable $callable |
126 | 125 | * @param ContainerDefinition $containerDefinition |
127 | 126 | * @param CallbackWrapperDefinition|null $callbackWrapperDefinition |
127 | + * @param string $decoratedServiceName |
|
128 | 128 | * |
129 | 129 | * @return DumpableInterface |
130 | 130 | */ |
@@ -21,7 +21,7 @@ |
||
21 | 21 | { |
22 | 22 | /** |
23 | 23 | * @param string $identifier |
24 | - * @param DefinitionInterface|mixed $definition |
|
24 | + * @param DefinitionInterface $definition |
|
25 | 25 | * |
26 | 26 | * @return AliasDefinition|FactoryCallDefinition|ObjectDefinition|ParameterDefinition|Reference |
27 | 27 | */ |