Code Duplication    Length = 10-10 lines in 2 locations

Features/Acf/Loader.php 2 locations

@@ 65-74 (lines=10) @@
62
        return self::$requirements;
63
    }
64
65
    protected static function setupHelpers()
66
    {
67
        $namespacePrefix = 'Flynt\Features\Acf';
68
        foreach (self::$helpers as $helperName => $helperOptions) {
69
            $className = "{$namespacePrefix}\\$helperName";
70
            if (class_exists($className) && method_exists($className, 'setup')) {
71
                $className::setup($helperOptions);
72
            }
73
        }
74
    }
75
76
    protected static function initHelpers()
77
    {
@@ 76-85 (lines=10) @@
73
        }
74
    }
75
76
    protected static function initHelpers()
77
    {
78
        $namespacePrefix = 'Flynt\Features\Acf';
79
        foreach (self::$helpers as $helperName => $helperOptions) {
80
            $className = "{$namespacePrefix}\\$helperName";
81
            if (class_exists($className) && method_exists($className, 'init')) {
82
                $className::init($helperOptions);
83
            }
84
        }
85
    }
86
87
    protected static function showAdminNotice()
88
    {