Some refactoring, courtesy of PHPStorm.

This commit is contained in:
James Cole
2016-01-15 16:26:49 +01:00
parent 88839e9610
commit 6c12f1bc86

View File

@@ -397,8 +397,9 @@ class CsvController extends Controller
// A tab character cannot be used itself as option value in HTML // A tab character cannot be used itself as option value in HTML
// See http://stackoverflow.com/questions/6064135/valid-characters-in-option-value // See http://stackoverflow.com/questions/6064135/valid-characters-in-option-value
if( $settings[ 'delimiter' ] == 'tab' ) if ($settings['delimiter'] == 'tab') {
$settings['delimiter'] = "\t"; $settings['delimiter'] = "\t";
}
$settings['map'] = []; $settings['map'] = [];
$settings['mapped'] = []; $settings['mapped'] = [];