Passed
Push — master ( d7d5d4...7f71c1 )
by Jan
04:41
created
src/Controller/ExportController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
             try {
86 86
                 //Call function depending on the selected mode
87
-                switch($data['mode']) {
87
+                switch ($data['mode']) {
88 88
                     case 'auto':
89 89
                             $result = $this->sepaExporter->exportAuto($payment_orders);
90 90
                         break;
@@ -113,13 +113,13 @@  discard block
 block discarded – undo
113 113
                 $this->entityManager->flush();
114 114
 
115 115
                 //Return the download
116
-                return $result->getDownloadResponse('export_'.date('Y-m-d_H-i-s'));
116
+                return $result->getDownloadResponse('export_' . date('Y-m-d_H-i-s'));
117 117
 
118 118
             } catch (SEPAExportAutoModeNotPossible $exception) {
119 119
                 //Show error if auto mode is not possible
120 120
                 $this->addFlash('danger',
121 121
                     $this->translator->trans('sepa_export.error.department_missing_account')
122
-                    .': '.$exception->getWrongDepartment()->getName());
122
+                    .': ' . $exception->getWrongDepartment()->getName());
123 123
             }
124 124
         }
125 125
 
Please login to merge, or discard this patch.