Code Duplication    Length = 10-10 lines in 2 locations

src/NodeVisitor/TemplatePathResolver.php 2 locations

@@ 130-139 (lines=10) @@
127
        }
128
    }
129
130
    private function processIncludeNode(Twig_Node_Include $node)
131
    {
132
        $exprNode = $node->getNode('expr');
133
134
        if ($exprNode instanceof Twig_Node_Expression_Constant) {
135
            $this->processConstantNode($exprNode, $this->checkPaths);
136
        }
137
138
        return null;
139
    }
140
141
    private function processImportNode(Twig_Node_Import $node)
142
    {
@@ 141-150 (lines=10) @@
138
        return null;
139
    }
140
141
    private function processImportNode(Twig_Node_Import $node)
142
    {
143
        $exprNode = $node->getNode('expr');
144
145
        if ($exprNode instanceof Twig_Node_Expression_Constant) {
146
            $this->processConstantNode($exprNode, $this->checkPaths);
147
        }
148
149
        return null;
150
    }
151
152
    protected function processResourceUrlFunction(Twig_Node $node)
153
    {