Code Duplication    Length = 3-3 lines in 3 locations

src/SEOGenerator.php 3 locations

@@ 90-92 (lines=3) @@
87
        $favicon_dir = insert_if_exists($this->defaults['icon_dir']);
88
        $colors = $this->defaults['colors'];
89
        self::$favicons =
90
                insert_if_exists (['60x60', '72x72', '114x114', '120x120', '152x152', '180x180'], function ($insert) use ($favicon_dir) {
91
                        return '<link rel="apple-touch-icon" sizes="' . $insert . '" href="' . asset($favicon_dir . '/apple-touch-icon-' . $insert . '.png').'">';
92
                    }, function ($insert) use ($favicon_dir) {
93
                        return File::exists(public_path($favicon_dir.'/apple-touch-icon-'.$insert.'.png'));
94
                    }) . 
95
                insert_if_exists (['16x16', '32x32', '96x96', '194x194'], function ($insert) use ($favicon_dir) {
@@ 95-97 (lines=3) @@
92
                    }, function ($insert) use ($favicon_dir) {
93
                        return File::exists(public_path($favicon_dir.'/apple-touch-icon-'.$insert.'.png'));
94
                    }) . 
95
                insert_if_exists (['16x16', '32x32', '96x96', '194x194'], function ($insert) use ($favicon_dir) {
96
                        return '<link rel="icon" type="image/png" href="' . asset($favicon_dir . '/favicon-' . $insert . '.png').'" sizes="'.$insert.'">';
97
                    }, function ($insert) use ($favicon_dir) {
98
                        return File::exists(public_path($favicon_dir.'/favicon-'.$insert.'.png'));
99
                    }) . 
100
                insert_if_exists (['192x192'], function ($insert) use ($favicon_dir) {
@@ 100-102 (lines=3) @@
97
                    }, function ($insert) use ($favicon_dir) {
98
                        return File::exists(public_path($favicon_dir.'/favicon-'.$insert.'.png'));
99
                    }) . 
100
                insert_if_exists (['192x192'], function ($insert) use ($favicon_dir) {
101
                        return '<link rel="icon" type="image/png" href="' . asset($favicon_dir . '/android-chrome-' . $insert . '.png').'" sizes="'.$insert.'">';
102
                    }, function ($insert) use ($favicon_dir) {
103
                        return File::exists(public_path($favicon_dir.'/android-chrome-'.$insert.'.png'));
104
                    }) . 
105
                insert_if_exists ($favicon_dir.'/manifest.json', function ($insert) {