@@ -57,7 +57,7 @@ |
||
57 | 57 | * Static method for easily creating a client. Requires the same parameters as the class constructor. |
58 | 58 | * |
59 | 59 | * @param array ...$args |
60 | - * @return mixed |
|
60 | + * @return Client |
|
61 | 61 | */ |
62 | 62 | public static function build(...$args) |
63 | 63 | { |
@@ -72,7 +72,7 @@ |
||
72 | 72 | public function createClient() |
73 | 73 | { |
74 | 74 | $stack = HandlerStack::create(); |
75 | - $stack->push(Middleware::mapResponse(function (ResponseInterface $response) { |
|
75 | + $stack->push(Middleware::mapResponse(function(ResponseInterface $response) { |
|
76 | 76 | return new Response($response); |
77 | 77 | })); |
78 | 78 |