Completed
Pull Request — 1.1 (#10)
by David
02:39 queued 49s
created
src/Definition/ValueUtils.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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.
Please login to merge, or discard this patch.
src/DefinitionConverter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/ServiceProvider/ServiceProviderLoader.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -134,10 +134,11 @@  discard block
 block discarded – undo
134 134
     }
135 135
 
136 136
     /**
137
-     * @param $serviceName
137
+     * @param string $serviceName
138 138
      * @param int                            $serviceProviderKey
139 139
      * @param callable                       $callable
140 140
      * @param ContainerDefinition            $containerDefinition
141
+     * @param string $decoratedServiceName
141 142
      *
142 143
      * @return DumpableInterface
143 144
      */
@@ -163,11 +164,12 @@  discard block
 block discarded – undo
163 164
     }
164 165
 
165 166
     /**
166
-     * @param $serviceName
167
+     * @param string $serviceName
167 168
      * @param int                            $serviceProviderKey
168 169
      * @param callable                       $callable
169 170
      * @param ContainerDefinition            $containerDefinition
170
-     * @param CallbackWrapperDefinition|null $previousDefinition
171
+     * @param null|DumpableInterface $previousDefinition
172
+     * @param string $decoratedServiceName
171 173
      *
172 174
      * @return DumpableInterface
173 175
      */
Please login to merge, or discard this patch.