@@ -58,7 +58,6 @@ discard block |
||
| 58 | 58 | * @param string $key |
| 59 | 59 | * @param string $secret |
| 60 | 60 | * @param \Http\Client\HttpClient|null $http |
| 61 | - * @param \Http\Message\MessageFactory|null $factory |
|
| 62 | 61 | */ |
| 63 | 62 | public function __construct($key, $secret, HttpClient $http = null) |
| 64 | 63 | { |
@@ -91,7 +90,7 @@ discard block |
||
| 91 | 90 | /** |
| 92 | 91 | * Get the configured HTTP handler. |
| 93 | 92 | * |
| 94 | - * @return \Http\Client\HttpAdapter |
|
| 93 | + * @return HttpClient |
|
| 95 | 94 | */ |
| 96 | 95 | public function getHttp() |
| 97 | 96 | { |
@@ -111,6 +110,7 @@ discard block |
||
| 111 | 110 | /** |
| 112 | 111 | * Get the URL that events should be posted to. |
| 113 | 112 | * |
| 113 | + * @param string $api |
|
| 114 | 114 | * @return string |
| 115 | 115 | */ |
| 116 | 116 | public function getEndpoint($api) |