@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | */ |
| 16 | 16 | public static function clearArray($data) |
| 17 | 17 | { |
| 18 | - return array_filter($data, function ($item) { |
|
| 18 | + return array_filter($data, function($item) { |
|
| 19 | 19 | if ($item === null) |
| 20 | 20 | return false; |
| 21 | 21 | return true; |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | */ |
| 47 | 47 | public static function array_except($array, $keys) |
| 48 | 48 | { |
| 49 | - return array_diff_key($array, array_flip((array)$keys)); |
|
| 49 | + return array_diff_key($array, array_flip((array) $keys)); |
|
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | public static function replaceArrayKeys($array, $search, $replace) |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | public function postRequest($uri, $data, $retryCounter = 0) |
| 51 | 51 | { |
| 52 | 52 | $data = array_merge($this->toArray(), [ |
| 53 | - 'payload' => $this->getTripleDESService()->encrypt((string)$data) |
|
| 53 | + 'payload' => $this->getTripleDESService()->encrypt((string) $data) |
|
| 54 | 54 | ]); |
| 55 | 55 | |
| 56 | 56 | $response = $this->sendRequest($uri, $data); |