[DependencyInjection] fixes #9815 Syntax error in PHP dumper