Code Duplication    Length = 4-4 lines in 2 locations

lib/Drupal/Core/DependencyInjection/YamlFileLoader.php 1 location

@@ 276-279 (lines=4) @@
273
            }
274
        }
275
276
        if (isset($service['decorates'])) {
277
            $renameId = isset($service['decoration_inner_name']) ? $service['decoration_inner_name'] : null;
278
            $definition->setDecoratedService($service['decorates'], $renameId);
279
        }
280
281
        $this->container->setDefinition($id, $definition);
282
    }

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php 1 location

@@ 284-287 (lines=4) @@
281
            }
282
        }
283
284
        if (isset($service['decorates'])) {
285
            $renameId = isset($service['decoration_inner_name']) ? $service['decoration_inner_name'] : null;
286
            $definition->setDecoratedService($service['decorates'], $renameId);
287
        }
288
289
        $this->container->setDefinition($id, $definition);
290
    }