Code Duplication    Length = 3-3 lines in 2 locations

DependencyInjection/Configuration.php 2 locations

@@ 393-395 (lines=3) @@
390
     */
391
    private function validateTypeAndService(array $config, $path)
392
    {
393
        if (!isset($config['type']) && !isset($config['service'])) {
394
            throw new InvalidConfigurationException(sprintf('You must set one of "type" or "service" for "%s"', $path));
395
        }
396
        if (isset($config['type']) && isset($config['service'])) {
397
            throw new InvalidConfigurationException(sprintf('You cannot set both "type" and "service" for "%s" - please choose one.', $path));
398
        }
@@ 396-398 (lines=3) @@
393
        if (!isset($config['type']) && !isset($config['service'])) {
394
            throw new InvalidConfigurationException(sprintf('You must set one of "type" or "service" for "%s"', $path));
395
        }
396
        if (isset($config['type']) && isset($config['service'])) {
397
            throw new InvalidConfigurationException(sprintf('You cannot set both "type" and "service" for "%s" - please choose one.', $path));
398
        }
399
    }
400
}
401