Code Duplication    Length = 3-3 lines in 2 locations

lib/Dwoo/Compiler.php 2 locations

@@ 3448-3450 (lines=3) @@
3445
                false) {
3446
                $pluginType = Core::FUNC_PLUGIN | Core::COMPILABLE_PLUGIN;
3447
            } // Helper plugin class compile
3448
            elseif (class_exists(Core::NAMESPACE_PLUGINS_HELPERS . 'Plugin' . Core::toCamelCase($name)) !== false) {
3449
                $pluginType = Core::CLASS_PLUGIN | Core::COMPILABLE_PLUGIN;
3450
            } // Helper plugin function compile
3451
            elseif (function_exists(Core::NAMESPACE_PLUGINS_HELPERS . 'Plugin' . Core::toCamelCase($name) . 'Compile') !== false) {
3452
                $pluginType = Core::FUNC_PLUGIN | Core::COMPILABLE_PLUGIN;
3453
            } // Smarty modifier
@@ 3451-3453 (lines=3) @@
3448
            elseif (class_exists(Core::NAMESPACE_PLUGINS_HELPERS . 'Plugin' . Core::toCamelCase($name)) !== false) {
3449
                $pluginType = Core::CLASS_PLUGIN | Core::COMPILABLE_PLUGIN;
3450
            } // Helper plugin function compile
3451
            elseif (function_exists(Core::NAMESPACE_PLUGINS_HELPERS . 'Plugin' . Core::toCamelCase($name) . 'Compile') !== false) {
3452
                $pluginType = Core::FUNC_PLUGIN | Core::COMPILABLE_PLUGIN;
3453
            } // Smarty modifier
3454
            elseif (function_exists('smarty_modifier_' . $name) !== false) {
3455
                $pluginType = Core::SMARTY_MODIFIER;
3456
            } // Smarty function