Completed
Push — master ( 5e17f9...116260 )
by Joachim
19:06 queued 04:06
created
src/Payload/CaptureReservation.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -38,11 +38,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 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.