@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | private function setApiProviderConfiguration($credentials) |
| 187 | 187 | { |
| 188 | 188 | // Setting PayPal API Credentials |
| 189 | - collect($credentials[$this->mode])->map(function ($value, $key) { |
|
| 189 | + collect($credentials[$this->mode])->map(function($value, $key) { |
|
| 190 | 190 | $this->config[$key] = $value; |
| 191 | 191 | }); |
| 192 | 192 | |
@@ -328,7 +328,7 @@ discard block |
||
| 328 | 328 | ], !empty($this->options) ? $this->options : []); |
| 329 | 329 | |
| 330 | 330 | $this->post = $this->post->merge($config) |
| 331 | - ->filter(function ($value, $key) use ($method) { |
|
| 331 | + ->filter(function($value, $key) use ($method) { |
|
| 332 | 332 | return (($method === 'verifyipn') && ($key === 'METHOD')) ?: $value; |
| 333 | 333 | }); |
| 334 | 334 | } |