[DependencyInjection] Remove Closure typehint, rename $arguments to $attributes.