Issue #3069026 by anmolgoyal74, Pooja Ganjage, mikelutz, longwave, alexpott,...
Issue #3069026 by anmolgoyal74, Pooja Ganjage, mikelutz, longwave, alexpott, xjm: Fix Call to deprecated method addAutowiringType() of class Symfony\Component\DependencyInjection\Definition in YamlFileLoader
(cherry picked from commit 29397a9f)
thrownewInvalidArgumentException(sprintf('Parameter "autowiring_types" must be a string or an array for service "%s" in %s. Check your YAML syntax.',$id,$file));
thrownewInvalidArgumentException(sprintf('A "autowiring_types" attribute must be of type string for service "%s" in %s. Check your YAML syntax.',$id,$file));