@@ -38,11 +38,11 @@ discard block |
||
| 38 | 38 | |
| 39 | 39 | public function __construct( |
| 40 | 40 | string $transactionId, |
| 41 | - ?float $amount = null, |
|
| 42 | - ?string $reconciliationIdentifier = null, |
|
| 43 | - ?string $invoiceNumber = null, |
|
| 44 | - ?string $salesTax = null, |
|
| 45 | - ?array |
|
| 41 | + ? float $amount = null, |
|
| 42 | + ? string $reconciliationIdentifier = null, |
|
| 43 | + ? string $invoiceNumber = null, |
|
| 44 | + ? string $salesTax = null, |
|
| 45 | + ? array |
|
| 46 | 46 | $orderLines = [] |
| 47 | 47 | ) { |
| 48 | 48 | $this->setTransactionId($transactionId); |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | /** |
| 111 | 111 | * @return float |
| 112 | 112 | */ |
| 113 | - public function getAmount() : ?float |
|
| 113 | + public function getAmount() : ? float |
|
| 114 | 114 | { |
| 115 | 115 | return $this->amount; |
| 116 | 116 | } |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | * @param float $amount |
| 120 | 120 | * @return CaptureReservation |
| 121 | 121 | */ |
| 122 | - public function setAmount(?float $amount) : self |
|
| 122 | + public function setAmount(? float $amount) : self |
|
| 123 | 123 | { |
| 124 | 124 | $this->amount = $amount; |
| 125 | 125 | return $this; |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | /** |
| 129 | 129 | * @return string |
| 130 | 130 | */ |
| 131 | - public function getReconciliationIdentifier() : ?string |
|
| 131 | + public function getReconciliationIdentifier() : ? string |
|
| 132 | 132 | { |
| 133 | 133 | return $this->reconciliationIdentifier; |
| 134 | 134 | } |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | * @param string $reconciliationIdentifier |
| 138 | 138 | * @return CaptureReservation |
| 139 | 139 | */ |
| 140 | - public function setReconciliationIdentifier(?string $reconciliationIdentifier) : self |
|
| 140 | + public function setReconciliationIdentifier(? string $reconciliationIdentifier) : self |
|
| 141 | 141 | { |
| 142 | 142 | $this->reconciliationIdentifier = $reconciliationIdentifier; |
| 143 | 143 | return $this; |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | /** |
| 147 | 147 | * @return string |
| 148 | 148 | */ |
| 149 | - public function getInvoiceNumber() : ?string |
|
| 149 | + public function getInvoiceNumber() : ? string |
|
| 150 | 150 | { |
| 151 | 151 | return $this->invoiceNumber; |
| 152 | 152 | } |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | * @param string $invoiceNumber |
| 156 | 156 | * @return CaptureReservation |
| 157 | 157 | */ |
| 158 | - public function setInvoiceNumber(?string $invoiceNumber) : self |
|
| 158 | + public function setInvoiceNumber(? string $invoiceNumber) : self |
|
| 159 | 159 | { |
| 160 | 160 | $this->invoiceNumber = $invoiceNumber; |
| 161 | 161 | return $this; |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | /** |
| 165 | 165 | * @return string |
| 166 | 166 | */ |
| 167 | - public function getSalesTax() : ?string |
|
| 167 | + public function getSalesTax() : ? string |
|
| 168 | 168 | { |
| 169 | 169 | return $this->salesTax; |
| 170 | 170 | } |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | * @param string $salesTax |
| 174 | 174 | * @return CaptureReservation |
| 175 | 175 | */ |
| 176 | - public function setSalesTax(?string $salesTax) : self |
|
| 176 | + public function setSalesTax(? string $salesTax) : self |
|
| 177 | 177 | { |
| 178 | 178 | $this->salesTax = $salesTax; |
| 179 | 179 | return $this; |
@@ -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; |