symfony/symfony — Issue #3251: [Dependency Injection] Service declaration tags should allow array types
Author: tiagojsag
Created: 2012-02-02 10:12:37+00:00
State: open

Hello,

Using the following yml service declation:
```(...)tags:
- { name: acme.myservice, sections:{main:true, side:true} }```

produces a correct array when parsed in a ComplierPass, but then throws:

```ErrorException: Warning: DOMElement::setAttribute() expects parameter 2 to be string, array given in (...)vendor/symfony/src/Symfony/Component/DependencyInjection/Dumper/XmlDumper.php line 141```