@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | } |
120 | 120 | |
121 | 121 | if ($invalid_status === true) { |
122 | - throw new \Exception('status should be always one of these: ' . implode(',', $this->invoices_date_types)); |
|
122 | + throw new \Exception('status should be always one of these: '.implode(',', $this->invoices_date_types)); |
|
123 | 123 | } |
124 | 124 | |
125 | 125 | $this->invoice_search_filters['status'] = $status; |
@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | } |
214 | 214 | |
215 | 215 | if (!in_array($date_type, $this->invoices_date_types)) { |
216 | - throw new \Exception('date type should be always one of these: ' . implode(',', $this->invoices_date_types)); |
|
216 | + throw new \Exception('date type should be always one of these: '.implode(',', $this->invoices_date_types)); |
|
217 | 217 | } |
218 | 218 | |
219 | 219 | $this->invoice_search_filters["{$date_type}_range"] = [ |
@@ -229,7 +229,7 @@ discard block |
||
229 | 229 | * |
230 | 230 | * @return \Srmklive\PayPal\Services\PayPal |
231 | 231 | */ |
232 | - public function addInvoiceFilterByArchivedStatus(bool $archived=null) |
|
232 | + public function addInvoiceFilterByArchivedStatus(bool $archived = null) |
|
233 | 233 | { |
234 | 234 | $this->invoice_search_filters['archived'] = $archived; |
235 | 235 |