Code Duplication    Length = 4-4 lines in 2 locations

lib/Drupal/Component/DependencyInjection/Container.php 1 location

@@ 237-240 (lines=4) @@
234
      }
235
    }
236
237
    if (isset($definition['file'])) {
238
      $file = $this->frozen ? $definition['file'] : current($this->resolveServicesAndParameters(array($definition['file'])));
239
      require_once $file;
240
    }
241
242
    if (isset($definition['factory'])) {
243
      $factory = $definition['factory'];

lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php 1 location

@@ 69-72 (lines=4) @@
66
      $arguments = $this->resolveServicesAndParameters($definition['arguments']);
67
    }
68
69
    if (isset($definition['file'])) {
70
      $file = $this->frozen ? $definition['file'] : current($this->resolveServicesAndParameters(array($definition['file'])));
71
      require_once $file;
72
    }
73
74
    if (isset($definition['factory'])) {
75
      $factory = $definition['factory'];