Code Duplication    Length = 5-5 lines in 2 locations

lib/Dwoo/Compiler.php 2 locations

@@ 3145-3149 (lines=5) @@
3142
3143
                $params = self::implode_r($params);
3144
3145
                if ($mapped) {
3146
                    $output = '$this->arrayMap(\'' . $func . '\', array(' . $params . '))';
3147
                } else {
3148
                    $output = $func . '(' . $params . ')';
3149
                }
3150
            } elseif ($pluginType & Core::PROXY_PLUGIN) {
3151
                $params = $this->mapParams($params, $this->getDwoo()->getPluginProxy()->getCallback($func), $state);
3152
                foreach ($params as &$p) {
@@ 3225-3229 (lines=5) @@
3222
                        array_unshift($params, '$this');
3223
3224
                        $params = self::implode_r($params);
3225
                        if ($mapped) {
3226
                            $output = '$this->arrayMap(\'' . $pluginName . '\', array(' . $params . '))';
3227
                        } else {
3228
                            $output = $pluginName . '(' . $params . ')';
3229
                        }
3230
                    }
3231
                } else {
3232
                    if ($pluginType & Core::COMPILABLE_PLUGIN) {