@@ -87,7 +87,7 @@ |
||
| 87 | 87 | $sXml = $this->configExport->generateConfigExportXml(); |
| 88 | 88 | if ($sXml !== false) { |
| 89 | 89 | $oResultRaw->setHeader("Content-Type", "text/xml; charset=\"utf8\"", true); |
| 90 | - $oResultRaw->setHeader("Content-Disposition", "attachment; filename=\"payone_config_export" . date('Y-m-d H-i-s') . "_" . md5($sXml) . ".xml\"", true); |
|
| 90 | + $oResultRaw->setHeader("Content-Disposition", "attachment; filename=\"payone_config_export".date('Y-m-d H-i-s')."_".md5($sXml).".xml\"", true); |
|
| 91 | 91 | $oResultRaw->setContents($sXml); |
| 92 | 92 | } |
| 93 | 93 | } catch (\Exception $e) { |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | $oOrder = $observer->getOrder(); |
| 66 | 66 | |
| 67 | 67 | // order is not guaranteed to exist if using transaction status forwarding |
| 68 | - if (null === $oOrder){ |
|
| 68 | + if (null === $oOrder) { |
|
| 69 | 69 | return; |
| 70 | 70 | } |
| 71 | 71 | |
@@ -235,7 +235,6 @@ |
||
| 235 | 235 | |
| 236 | 236 | /** |
| 237 | 237 | * Send the previously prepared request, log request and response into the database and return the response |
| 238 | - |
|
| 239 | 238 | * @return array |
| 240 | 239 | */ |
| 241 | 240 | protected function send() |