|
@@ -146,7 +146,7 @@ discard block |
|
|
block discarded – undo |
|
146
|
146
|
* @param array $dependencies Array of ReflectionParameter |
|
147
|
147
|
* |
|
148
|
148
|
* @throws ContainerException When a dependency cannot be solved. |
|
149
|
|
- * @return array |
|
|
149
|
+ * @return callable|null |
|
150
|
150
|
*/ |
|
151
|
151
|
|
|
152
|
152
|
protected function process(string $abstract, array $parameters, array $dependencies) : array |
|
@@ -430,7 +430,7 @@ discard block |
|
|
block discarded – undo |
|
430
|
430
|
* Modify an element with a given function that receive the old element as argument. |
|
431
|
431
|
* |
|
432
|
432
|
* @param string $abstract The alias name that will be used to call the element. |
|
433
|
|
- * @param closure $extension The function that receives the old element and return a new or modified one. |
|
|
433
|
+ * @param Closure $extension The function that receives the old element and return a new or modified one. |
|
434
|
434
|
* |
|
435
|
435
|
* @throws NotFoundException When no element was found with $abstract key. |
|
436
|
436
|
* @return self |
Please login to merge, or discard this patch.