Code Duplication    Length = 5-5 lines in 2 locations

lib/Dwoo/Compiler.php 2 locations

@@ 2943-2947 (lines=5) @@
2940
            }
2941
            $substr = 'true';
2942
            $type   = self::T_BOOL;
2943
        } elseif ($substr === 'null' || $substr === 'NULL') {
2944
            if ($this->debug) {
2945
                echo 'NULL PARSED' . "\n";
2946
            }
2947
            $substr = 'null';
2948
            $type   = self::T_NULL;
2949
        } elseif (is_numeric($substr)) {
2950
            $substr = (float)$substr;
@@ 2958-2962 (lines=5) @@
2955
            if ($this->debug) {
2956
                echo 'NUMBER (' . $substr . ') PARSED' . "\n";
2957
            }
2958
        } elseif (preg_match('{^-?(\d+|\d*(\.\d+))\s*([/*%+-]\s*-?(\d+|\d*(\.\d+)))+$}', $substr)) {
2959
            if ($this->debug) {
2960
                echo 'SIMPLE MATH PARSED . "\n"';
2961
            }
2962
            $type   = self::T_MATH;
2963
            $substr = '(' . $substr . ')';
2964
        } elseif ($curBlock === 'condition' && array_search($substr, $breakChars, true) !== false) {
2965
            if ($this->debug) {