Code Duplication    Length = 3-3 lines in 2 locations

src/DependencyInjection/NeonFileLoader.php 2 locations

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