@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | /** |
53 | 53 | * Execute the created endpoint. |
54 | 54 | * |
55 | - * @param dynamic $parameters |
|
55 | + * @param dynamic[] $parameters |
|
56 | 56 | * @return array |
57 | 57 | */ |
58 | 58 | public static function handle(...$parameters) |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | /** |
78 | 78 | * Create a new request. |
79 | 79 | * |
80 | - * @return \CryptoMarkets\Common\Response |
|
80 | + * @return ResponseInterface |
|
81 | 81 | * @throws \GuzzleHttp\Exception\ClientException |
82 | 82 | */ |
83 | 83 | public function createRequest() |
@@ -3,8 +3,8 @@ |
||
3 | 3 | namespace CryptoMarkets\Common; |
4 | 4 | |
5 | 5 | use GuzzleHttp\Client; |
6 | -use Psr\Http\Message\ResponseInterface; |
|
7 | 6 | use GuzzleHttp\Exception\ClientException; |
7 | +use Psr\Http\Message\ResponseInterface; |
|
8 | 8 | |
9 | 9 | abstract class Endpoint |
10 | 10 | { |
@@ -76,7 +76,7 @@ |
||
76 | 76 | /** |
77 | 77 | * Determine if the given concrete is buildable. |
78 | 78 | * |
79 | - * @param mixed $concrete |
|
79 | + * @param string $concrete |
|
80 | 80 | * @return bool |
81 | 81 | */ |
82 | 82 | private function isBuildable($concrete) |