Code Duplication    Length = 4-6 lines in 2 locations

lib/Dwoo/Compiler.php 2 locations

@@ 1942-1947 (lines=6) @@
1939
                        Core::NAMESPACE_PLUGINS_HELPERS . 'Plugin' . Core::toCamelCase($func),
1940
                        ($pluginType & Core::COMPILABLE_PLUGIN) ? 'compile' : 'process'
1941
                    ), $state);
1942
                } else {
1943
                    $params = $this->mapParams($params, array(
1944
                        Core::NAMESPACE_PLUGINS_FUNCTIONS . 'Plugin' . Core::toCamelCase($func),
1945
                        ($pluginType & Core::COMPILABLE_PLUGIN) ? 'compile' : 'process'
1946
                    ), $state);
1947
                }
1948
            }
1949
        } // PHP function plugin
1950
        elseif ($pluginType & Core::FUNC_PLUGIN) {
@@ 1965-1968 (lines=4) @@
1962
                    $params = $this->mapParams($params, Core::NAMESPACE_PLUGINS_HELPERS . 'Plugin' . Core::toCamelCase
1963
                        ($func) . (($pluginType & Core::COMPILABLE_PLUGIN) ? 'Compile' : ''), $state);
1964
                } // Builtin function plugin
1965
                else {
1966
                    $params = $this->mapParams($params, Core::NAMESPACE_PLUGINS_FUNCTIONS . 'Plugin' . Core::toCamelCase
1967
                        ($func) . (($pluginType & Core::COMPILABLE_PLUGIN) ? 'Compile' : ''), $state);
1968
                }
1969
            }
1970
        } // Smarty modifier
1971
        elseif ($pluginType & Core::SMARTY_MODIFIER) {