Code Duplication    Length = 5-5 lines in 2 locations

lib/Dwoo/Compiler.php 1 location

@@ 2727-2731 (lines=5) @@
2724
                        $output = '$this->globals';
2725
                        array_shift($m[2]);
2726
                        array_shift($m[1]);
2727
                    } elseif ($i === '_root' || $i === '__') {
2728
                        // $output = '$this->data';
2729
                        $output = '$this->getData()';
2730
                        array_shift($m[2]);
2731
                        array_shift($m[1]);
2732
                    } elseif ($i === '_key') {
2733
                        $output = '$tmp_key';
2734
                    } else {

lib/Dwoo/Core.php 1 location

@@ 1563-1567 (lines=5) @@
1560
                array_shift($m[2]);
1561
                array_shift($m[1]);
1562
            }
1563
        } elseif ($i === '__' || $i === '_root') {
1564
            $cur = $this->data;
1565
            array_shift($m[2]);
1566
            array_shift($m[1]);
1567
        } elseif ($i === '_' || $i === '_parent') {
1568
            $tree = $this->scopeTree;
1569
            $cur  = $this->data;
1570