Code Duplication    Length = 7-7 lines in 2 locations

lib/Dwoo/Compiler.php 2 locations

@@ 2633-2639 (lines=7) @@
2630
                    } else {
2631
                        $output = '(($tmp = ' . $output . ') ? $this->getSecurityPolicy()->callMethod($this, $tmp, ' . var_export($method, true) . ', array' . $args . ') : null)';
2632
                    }
2633
                } else {
2634
                    if ($curBlock === 'root') {
2635
                        $output .= '->' . $parsedCall;
2636
                    } else {
2637
                        $output = '(($tmp = ' . $output . ') ? $tmp->' . $parsedCall . ' : null)';
2638
                    }
2639
                }
2640
            }
2641
        }
2642
@@ 2691-2697 (lines=7) @@
2688
                    $output = '$this->readParentVar(1)';
2689
                } elseif ($key === '_key') {
2690
                    $output = '$tmp_key';
2691
                } else {
2692
                    if ($curBlock === 'root') {
2693
                        $output = '$this->scope["' . $key . '"]';
2694
                    } else {
2695
                        $output = '(isset($this->scope["' . $key . '"]) ? $this->scope["' . $key . '"] : null)';
2696
                    }
2697
                }
2698
            } else {
2699
                preg_match_all('#(\[|->|\.)?((?:[a-z0-9_]|-(?!>))+|(\\\?[\'"])[^\3]*?\3)\]?#i', $key, $m);
2700