@@ -240,7 +240,7 @@ EOF;
$tags[$name][$id] = $ann;
}
- $tags = var_export($tags, true);
+ $tags = $this->exportParameters($tags);
return <<<EOF
@@ -32,8 +32,9 @@ class Container extends AbstractContainer implements TaggedContainerInterface
*/
public function findTaggedServiceIds($name)
{
- static $tags = array (
-);
+ static $tags = array(
+
+ );
return isset($tags[$name]) ? $tags[$name] : array();
@@ -32,8 +32,9 @@ class ProjectServiceContainer extends Container implements TaggedContainerInterf
@@ -141,22 +141,18 @@ class ProjectServiceContainer extends Container implements TaggedContainerInterf
- 'foo' =>
- array (
- 0 =>
- 'foo' => 'foo',
- ),
- 1 =>
- 'bar' => 'bar',
+ 'foo' => array(
+ 0 => array(
+ 'foo' => 'foo',
+ ),
+ 1 => array(
+ 'bar' => 'bar',