Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 223-229 (lines=7) @@
220
            $definition->setProperties($this->resolveServices($service['properties']));
221
        }
222
223
        if (isset($service['configurator'])) {
224
            if (is_string($service['configurator'])) {
225
                $definition->setConfigurator($service['configurator']);
226
            } else {
227
                $definition->setConfigurator(array($this->resolveServices($service['configurator'][0]), $service['configurator'][1]));
228
            }
229
        }
230
231
        if (isset($service['calls'])) {
232
            if (!is_array($service['calls'])) {

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

@@ 231-237 (lines=7) @@
228
            $definition->setProperties($this->resolveServices($service['properties']));
229
        }
230
231
        if (isset($service['configurator'])) {
232
            if (is_string($service['configurator'])) {
233
                $definition->setConfigurator($service['configurator']);
234
            } else {
235
                $definition->setConfigurator(array($this->resolveServices($service['configurator'][0]), $service['configurator'][1]));
236
            }
237
        }
238
239
        if (isset($service['calls'])) {
240
            if (!is_array($service['calls'])) {