Code Duplication    Length = 3-3 lines in 2 locations

lib/Dwoo/Compiler.php 2 locations

@@ 3438-3440 (lines=3) @@
3435
                false) {
3436
                $pluginType = Core::FUNC_PLUGIN | Core::COMPILABLE_PLUGIN;
3437
            } // Helper plugin class compile
3438
            elseif (class_exists(Core::NAMESPACE_PLUGINS_HELPERS . 'Plugin' . Core::toCamelCase($name)) !== false) {
3439
                $pluginType = Core::CLASS_PLUGIN | Core::COMPILABLE_PLUGIN;
3440
            } // Helper plugin function compile
3441
            elseif (function_exists(Core::NAMESPACE_PLUGINS_HELPERS . 'Plugin' . Core::toCamelCase($name) . 'Compile') !== false) {
3442
                $pluginType = Core::FUNC_PLUGIN | Core::COMPILABLE_PLUGIN;
3443
            } // Smarty modifier
@@ 3441-3443 (lines=3) @@
3438
            elseif (class_exists(Core::NAMESPACE_PLUGINS_HELPERS . 'Plugin' . Core::toCamelCase($name)) !== false) {
3439
                $pluginType = Core::CLASS_PLUGIN | Core::COMPILABLE_PLUGIN;
3440
            } // Helper plugin function compile
3441
            elseif (function_exists(Core::NAMESPACE_PLUGINS_HELPERS . 'Plugin' . Core::toCamelCase($name) . 'Compile') !== false) {
3442
                $pluginType = Core::FUNC_PLUGIN | Core::COMPILABLE_PLUGIN;
3443
            } // Smarty modifier
3444
            elseif (function_exists('smarty_modifier_' . $name) !== false) {
3445
                $pluginType = Core::SMARTY_MODIFIER;
3446
            } // Smarty function