@@ -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 | ); |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | * |
| 11 | 11 | */ |
| 12 | 12 | |
| 13 | -declare(strict_types = 1); |
|
| 13 | +declare(strict_types=1); |
|
| 14 | 14 | |
| 15 | 15 | if (\PHP_VERSION_ID < 80000) { |
| 16 | 16 | interface Stringable |