@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | $baseUrl = $parsedBaseUrl['scheme']. |
51 | 51 | '://'.rawurlencode($this->username).':'.rawurlencode($this->password).'@'.$parsedBaseUrl['host']; |
52 | 52 | |
53 | - $this->baseUrl = $baseUrl; |
|
53 | + $this->baseUrl = $baseUrl; |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | /** |
@@ -258,7 +258,7 @@ discard block |
||
258 | 258 | public function doRequest($method, $uri, array $options = null) |
259 | 259 | { |
260 | 260 | $url = $this->baseUrl.$uri; |
261 | - $options = $options ? : []; |
|
261 | + $options = $options ?: []; |
|
262 | 262 | $defaultOptions = []; |
263 | 263 | $options = array_merge($defaultOptions, $options); |
264 | 264 | $client = $this->getClient(); |
@@ -330,7 +330,7 @@ |
||
330 | 330 | /** |
331 | 331 | * @return array |
332 | 332 | */ |
333 | - public function getTransactionInfo() : ?array |
|
333 | + public function getTransactionInfo() : ? array |
|
334 | 334 | { |
335 | 335 | return $this->transactionInfo; |
336 | 336 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | */ |
21 | 21 | public static function simplePayload(array $payload) : array |
22 | 22 | { |
23 | - $payload = array_filter($payload, function ($val) { |
|
23 | + $payload = array_filter($payload, function($val) { |
|
24 | 24 | if ($val instanceof PayloadInterface) { |
25 | 25 | $val = $val->getPayload(); |
26 | 26 | } |