@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | private function setApiProviderConfiguration($credentials) |
| 190 | 190 | { |
| 191 | 191 | // Setting PayPal API Credentials |
| 192 | - collect($credentials[$this->mode])->map(function ($value, $key) { |
|
| 192 | + collect($credentials[$this->mode])->map(function($value, $key) { |
|
| 193 | 193 | $this->config[$key] = $value; |
| 194 | 194 | }); |
| 195 | 195 | |
@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | */ |
| 216 | 216 | protected function setRequestData(array $data = []) |
| 217 | 217 | { |
| 218 | - if (($this->post instanceof Collection) && (! $this->post->isEmpty())) { |
|
| 218 | + if (($this->post instanceof Collection) && (!$this->post->isEmpty())) { |
|
| 219 | 219 | unset($this->post); |
| 220 | 220 | } |
| 221 | 221 | |
@@ -331,7 +331,7 @@ discard block |
||
| 331 | 331 | ], $this->options); |
| 332 | 332 | |
| 333 | 333 | $this->post = $this->post->merge($config) |
| 334 | - ->filter(function ($value, $key) use ($method) { |
|
| 334 | + ->filter(function($value, $key) use ($method) { |
|
| 335 | 335 | return (($method === 'verifyipn') && ($key === 'METHOD')) ?: $value; |
| 336 | 336 | }); |
| 337 | 337 | } |