@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | */ |
| 42 | 42 | public function getApi(): void |
| 43 | 43 | { |
| 44 | - if (! $this->api) { |
|
| 44 | + if (!$this->api) { |
|
| 45 | 45 | $this->api = config('novaposhta.api_key'); |
| 46 | 46 | } |
| 47 | 47 | } |
@@ -245,7 +245,7 @@ discard block |
||
| 245 | 245 | Log::debug($this->model.' / '.$this->calledMethod.' // apiKey: '.(int) $auth); |
| 246 | 246 | Log::debug('--------------------'); |
| 247 | 247 | |
| 248 | - if (! empty($this->methodProperties)) { |
|
| 248 | + if (!empty($this->methodProperties)) { |
|
| 249 | 249 | try { |
| 250 | 250 | Log::notice(json_encode($this->methodProperties)); |
| 251 | 251 | } catch (Exception $e) { |
@@ -134,7 +134,7 @@ |
||
| 134 | 134 | */ |
| 135 | 135 | public function getPrintForm(): void |
| 136 | 136 | { |
| 137 | - if (! $this->printForm) { |
|
| 137 | + if (!$this->printForm) { |
|
| 138 | 138 | $this->printForm = config('novaposhta.print_form'); |
| 139 | 139 | } |
| 140 | 140 | |
@@ -232,7 +232,7 @@ discard block |
||
| 232 | 232 | /** |
| 233 | 233 | * Форсирование параметров, при определенных условиях. |
| 234 | 234 | */ |
| 235 | - if($this->printForm == 'ScanSheet') { |
|
| 235 | + if ($this->printForm == 'ScanSheet') { |
|
| 236 | 236 | $this->setThisIsScansheet(); |
| 237 | 237 | |
| 238 | 238 | $this->methodProperties['PrintOrientation'] = $this->PrintOrientation; |
@@ -243,19 +243,19 @@ discard block |
||
| 243 | 243 | $this->Copies = 1; |
| 244 | 244 | } |
| 245 | 245 | |
| 246 | - if($this->printForm == 'Document_new') { |
|
| 246 | + if ($this->printForm == 'Document_new') { |
|
| 247 | 247 | $this->Type = 'pdf'; |
| 248 | 248 | |
| 249 | 249 | $this->Copies = $this->Copies ?: 1; |
| 250 | 250 | $this->PageFormat = $this->PageFormat ?: 'A4'; |
| 251 | 251 | } |
| 252 | 252 | |
| 253 | - if($this->printForm == 'Marking_85x85') { |
|
| 253 | + if ($this->printForm == 'Marking_85x85') { |
|
| 254 | 254 | $this->PageFormat = 'A4'; |
| 255 | 255 | $this->Type = 'pdf8'; |
| 256 | 256 | } |
| 257 | 257 | |
| 258 | - if($this->printForm == 'Marking_100x100') { |
|
| 258 | + if ($this->printForm == 'Marking_100x100') { |
|
| 259 | 259 | $this->PageFormat = null; |
| 260 | 260 | $this->Type = 'pdf'; |
| 261 | 261 | $this->Position = ''; |
@@ -41,11 +41,11 @@ |
||
| 41 | 41 | { |
| 42 | 42 | $this->calledMethod = 'getLoyaltyCardTurnoverByApiKey'; |
| 43 | 43 | |
| 44 | - if($Year) { |
|
| 44 | + if ($Year) { |
|
| 45 | 45 | $this->methodProperties['Year'] = $Year; |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | - if($Month) { |
|
| 48 | + if ($Month) { |
|
| 49 | 49 | $this->methodProperties['Month'] = $Month; |
| 50 | 50 | } |
| 51 | 51 | |