Code Duplication    Length = 5-5 lines in 2 locations

lib/Dwoo/Compiler.php 2 locations

@@ 3184-3188 (lines=5) @@
3181
3182
                $params = self::implode_r($params);
3183
3184
                if ($mapped) {
3185
                    $output = '$this->arrayMap(\'' . $func . '\', array(' . $params . '))';
3186
                } else {
3187
                    $output = $func . '(' . $params . ')';
3188
                }
3189
            } elseif ($pluginType & Core::PROXY_PLUGIN) {
3190
                $params = $this->mapParams($params, $this->getCore()->getPluginProxy()->getCallback($func), $state);
3191
                foreach ($params as &$p) {
@@ 3268-3272 (lines=5) @@
3265
                        array_unshift($params, '$this');
3266
3267
                        $params = self::implode_r($params);
3268
                        if ($mapped) {
3269
                            $output = '$this->arrayMap(\'' . $pluginName . '\', array(' . $params . '))';
3270
                        } else {
3271
                            $output = $pluginName . '(' . $params . ')';
3272
                        }
3273
                    }
3274
                } else {
3275
                    if ($pluginType & Core::COMPILABLE_PLUGIN) {