@@ -402,7 +402,7 @@ |
||
402 | 402 | * Modify an element with a given function that receive the old element as argument. |
403 | 403 | * |
404 | 404 | * @param string $abstract The alias name that will be used to call the element. |
405 | - * @param closure $extension The function that receives the old element and return a new or modified one. |
|
405 | + * @param Closure $extension The function that receives the old element and return a new or modified one. |
|
406 | 406 | * |
407 | 407 | * @throws NotFoundException When no element was found with $abstract key. |
408 | 408 | * @return self |