Commit f8d2e85d authored by webchick's avatar webchick

Issue #2081175 by smiro: Remove Unused local variable from...

Issue #2081175 by smiro: Remove Unused local variable  from /serialization/lib/Drupal/serialization/RegisterSerializationClassesCompilerPass.php.
parent 21344721
......@@ -45,7 +45,7 @@ public function process(ContainerBuilder $container) {
// Find all serialization formats known.
$formats = array();
foreach ($container->findTaggedServiceIds('encoder') as $id => $attributes) {
foreach ($container->findTaggedServiceIds('encoder') as $attributes) {
$formats[] = $attributes[0]['format'];
}
$container->setParameter('serializer.formats', $formats);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment