Completed
Push — master ( f2a46e...3f5575 )
by Joachim
14:07
created
src/Client.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Payload/PaymentRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Payload/CaptureReservation.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.