@@ -393,7 +393,7 @@ |
||
| 393 | 393 | * Parse PayPal NVP Response. |
| 394 | 394 | * |
| 395 | 395 | * @param string $method |
| 396 | - * @param mixed $response |
|
| 396 | + * @param \Psr\Http\Message\StreamInterface $response |
|
| 397 | 397 | * |
| 398 | 398 | * @return array |
| 399 | 399 | */ |
@@ -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 | |
@@ -344,7 +344,7 @@ discard block |
||
| 344 | 344 | ], $this->options); |
| 345 | 345 | |
| 346 | 346 | $this->post = $this->post->merge($config) |
| 347 | - ->filter(function ($value, $key) use ($method) { |
|
| 347 | + ->filter(function($value, $key) use ($method) { |
|
| 348 | 348 | return (($method === 'verifyipn') && ($key === 'METHOD')) ?: $value; |
| 349 | 349 | }); |
| 350 | 350 | } |