@@ -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 | */ |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | $this->setApiEnvironment($credentials); |
| 144 | 144 | |
| 145 | 145 | // Setting PayPal API Credentials |
| 146 | - collect($credentials[$this->mode])->map(function ($value, $key) { |
|
| 146 | + collect($credentials[$this->mode])->map(function($value, $key) { |
|
| 147 | 147 | $this->config[$key] = $value; |
| 148 | 148 | }); |
| 149 | 149 | |
@@ -333,7 +333,7 @@ discard block |
||
| 333 | 333 | ], $this->options); |
| 334 | 334 | |
| 335 | 335 | $this->post = $this->post->merge($config) |
| 336 | - ->filter(function ($value, $key) use ($method) { |
|
| 336 | + ->filter(function($value, $key) use ($method) { |
|
| 337 | 337 | return (($method === 'verifyipn') && ($key === 'METHOD')) ?: $value; |
| 338 | 338 | }); |
| 339 | 339 | } |