@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | $baseUrl = $parsedBaseUrl['scheme']. |
48 | 48 | '://'.rawurlencode($this->username).':'.rawurlencode($this->password).'@'.$parsedBaseUrl['host']; |
49 | 49 | |
50 | - $this->baseUrl = $baseUrl; |
|
50 | + $this->baseUrl = $baseUrl; |
|
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | { |
198 | 198 | |
199 | 199 | $url = $this->baseUrl.$uri; |
200 | - $options = $options ? : []; |
|
200 | + $options = $options ?: []; |
|
201 | 201 | $defaultOptions = []; |
202 | 202 | $options = array_merge($defaultOptions, $options); |
203 | 203 | $client = $this->getClient(); |
@@ -340,7 +340,7 @@ discard block |
||
340 | 340 | /** |
341 | 341 | * @return array |
342 | 342 | */ |
343 | - public function getTransactionInfo() : ?array |
|
343 | + public function getTransactionInfo() : ? array |
|
344 | 344 | { |
345 | 345 | return $this->transactionInfo; |
346 | 346 | } |
@@ -574,7 +574,7 @@ discard block |
||
574 | 574 | /** |
575 | 575 | * @return OrderLineInterface[] |
576 | 576 | */ |
577 | - public function getOrderLines() : ?array |
|
577 | + public function getOrderLines() : ? array |
|
578 | 578 | { |
579 | 579 | return $this->orderLines; |
580 | 580 | } |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | ?string $reconciliationIdentifier = null, |
43 | 43 | ?string $invoiceNumber = null, |
44 | 44 | ?string $salesTax = null, |
45 | - ?array |
|
45 | + ? array |
|
46 | 46 | $orderLines = [] |
47 | 47 | ) { |
48 | 48 | $this->setTransactionId($transactionId); |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | /** |
183 | 183 | * @return OrderLineInterface[] |
184 | 184 | */ |
185 | - public function getOrderLines() : ?array |
|
185 | + public function getOrderLines() : ? array |
|
186 | 186 | { |
187 | 187 | return $this->orderLines; |
188 | 188 | } |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | * @param OrderLineInterface[] $orderLines |
192 | 192 | * @return CaptureReservation |
193 | 193 | */ |
194 | - public function setOrderLines(?array $orderLines) : self |
|
194 | + public function setOrderLines(? array $orderLines) : self |
|
195 | 195 | { |
196 | 196 | $this->orderLines = $orderLines; |
197 | 197 | return $this; |