Code Duplication    Length = 3-3 lines in 3 locations

Provider/FileProvider.php 3 locations

@@ 186-188 (lines=3) @@
183
        if (in_array($extension, ['zip', 'rar', 'tar', 'gz'])) {
184
            return 'archive.png';
185
        }
186
        if (in_array($extension, ['wav', 'mp3', 'flac', 'aac', 'aiff', 'm4a', 'ogg', 'oga', 'wma'])) {
187
            return 'audio.png';
188
        }
189
        if (in_array($extension, ['php', 'html', 'css', 'js', 'vb', 'phar', 'py', 'jar', 'json', 'yml'])) {
190
            return 'code.png';
191
        }
@@ 192-194 (lines=3) @@
189
        if (in_array($extension, ['php', 'html', 'css', 'js', 'vb', 'phar', 'py', 'jar', 'json', 'yml'])) {
190
            return 'code.png';
191
        }
192
        if (in_array($extension, ['xls', 'xlt', 'xlm', 'xlsx', 'xlsm', 'xltx', 'xltm'])) {
193
            return 'excel.png';
194
        }
195
        if (in_array($extension, ['png', 'jpg', 'jpeg', 'gif', 'bmp', 'tiff', 'ai', 'psd'])) {
196
            return 'image.png';
197
        }
@@ 213-215 (lines=3) @@
210
        if (in_array($extension, ['txt'])) {
211
            return 'txt.png';
212
        }
213
        if (in_array($extension, ['doc', 'dot', 'wbk', 'docx', 'docm', 'dotx', 'dotm', 'docb'])) {
214
            return 'word.png';
215
        }
216
217
        return 'default.png';
218
    }