Code Duplication    Length = 3-3 lines in 2 locations

src/DependencyInjection/NeonFileLoader.php 2 locations

@@ 169-171 (lines=3) @@
166
            throw new InvalidArgumentException('The "imports" and "includes" keys cannot be used together. Checkyour NEON syntax.', $file);
167
        }
168
169
        if (isset($content['imports']) && !is_array($content['imports'])) {
170
            throw new InvalidArgumentException(sprintf('The "imports" key should contain an array in %s. Check your NEON syntax.', $file));
171
        }
172
173
        // nette
174
        if (isset($content['includes']) && !is_array($content['includes'])) {
@@ 174-176 (lines=3) @@
171
        }
172
173
        // nette
174
        if (isset($content['includes']) && !is_array($content['includes'])) {
175
            throw new InvalidArgumentException(sprintf('The "includes" key should contain an array in %s. Check your NEON syntax.', $file));
176
        }
177
178
        // nette
179
        $content = array_merge(['imports' => [], 'includes' => []], $content);