Skip to content
Snippets Groups Projects
Commit f8d2e85d authored by Angie Byron's avatar Angie Byron
Browse files

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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment