Passed
Push — master ( b0ec58...6fefb1 )
by Nicolaas
08:38
created
src/ExportAllFromModelAdminTrait.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -86,19 +86,19 @@  discard block
 block discarded – undo
86 86
             if (!in_array($fieldName, $this->exportFieldLabelsExclude, true)) {
87 87
                 switch ($type) {
88 88
                     case Image::class:
89
-                        $this->exportFields[$fieldName] = function ($rel) {
90
-                            return Director::absoluteURL((string)$rel->Link());
89
+                        $this->exportFields[$fieldName] = function($rel) {
90
+                            return Director::absoluteURL((string) $rel->Link());
91 91
                         };
92 92
 
93 93
                         break;
94 94
                     case Member::class:
95
-                        $this->exportFields[$fieldName] = function ($rel) {
95
+                        $this->exportFields[$fieldName] = function($rel) {
96 96
                             return $rel->Email;
97 97
                         };
98 98
 
99 99
                         break;
100 100
                     default:
101
-                        $this->exportFields[$fieldName] = function ($rel) {
101
+                        $this->exportFields[$fieldName] = function($rel) {
102 102
                             return $rel->getTitle();
103 103
                         };
104 104
                 }
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         ;
116 116
         foreach (array_keys($rels) as $fieldName) {
117 117
             if (!in_array($fieldName, $this->exportFieldLabelsExclude, true)) {
118
-                $this->exportFields[$fieldName] = function ($rels) {
118
+                $this->exportFields[$fieldName] = function($rels) {
119 119
                     $sep = Config::inst()->get(ExportAllFromModelAdminTraitSettings::class, 'export_separator');
120 120
                     $sepReplacer = Config::inst()->get(ExportAllFromModelAdminTraitSettings::class, 'export_separator_replacer');
121 121
                     $a = [];
Please login to merge, or discard this patch.