@@ -34,19 +34,19 @@ |
||
| 34 | 34 | // success callbacks |
| 35 | 35 | $provider |
| 36 | 36 | ->addOnSuccess( |
| 37 | - static function (ResponseInterface $response) { |
|
| 37 | + static function(ResponseInterface $response) { |
|
| 38 | 38 | // here is you code for processing response |
| 39 | 39 | } |
| 40 | 40 | ) |
| 41 | 41 | ->addOnSuccess( |
| 42 | - static function (ResponseInterface $response) { |
|
| 42 | + static function(ResponseInterface $response) { |
|
| 43 | 43 | // here is you code for processing response |
| 44 | 44 | } |
| 45 | 45 | ); |
| 46 | 46 | |
| 47 | 47 | // error callback |
| 48 | 48 | $provider->addOnError( |
| 49 | - static function (GPWebPayException $exception, ResponseInterface $response) { |
|
| 49 | + static function(GPWebPayException $exception, ResponseInterface $response) { |
|
| 50 | 50 | // here is you code for processing error |
| 51 | 51 | } |
| 52 | 52 | ); |