Code Duplication    Length = 3-3 lines in 3 locations

Provider/FileProvider.php 3 locations

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