@@ -59,6 +59,7 @@ discard block |
||
59 | 59 | * @param array|null $params |
60 | 60 | * @param array|null $auth |
61 | 61 | * @param bool $sandbox |
62 | + * @param string $apiVersion |
|
62 | 63 | */ |
63 | 64 | public function __construct( |
64 | 65 | $method = null, |
@@ -100,6 +101,7 @@ discard block |
||
100 | 101 | * Set the HTTP method. |
101 | 102 | * |
102 | 103 | * @param string |
104 | + * @param string|null $method |
|
103 | 105 | */ |
104 | 106 | public function setMethod($method) |
105 | 107 | { |
@@ -139,7 +139,7 @@ |
||
139 | 139 | /** |
140 | 140 | * Returns the exception that was thrown. |
141 | 141 | * |
142 | - * @return \Postpay\Exceptions\ApiException|null |
|
142 | + * @return \Postpay\Exceptions\PostpayException |
|
143 | 143 | */ |
144 | 144 | public function getThrownException() |
145 | 145 | { |
@@ -7,8 +7,8 @@ discard block |
||
7 | 7 | /** |
8 | 8 | * Appends params to the URL. |
9 | 9 | * |
10 | - * @param string $path The URL path that will receive the params. |
|
11 | 10 | * @param array $params The params to append to the URL. |
11 | + * @param string|null $url |
|
12 | 12 | * |
13 | 13 | * @return string |
14 | 14 | */ |
@@ -23,8 +23,8 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * Check for a "/" prefix and prepend it if not exists. |
25 | 25 | * |
26 | - * @param string|null $string |
|
27 | 26 | * |
27 | + * @param string $path |
|
28 | 28 | * @return string|null |
29 | 29 | */ |
30 | 30 | public static function slashPrefix($path) |
@@ -10,7 +10,7 @@ |
||
10 | 10 | * Sends a request to the server and returns the response. |
11 | 11 | * |
12 | 12 | * @param Request $request Request to send. |
13 | - * @param int $timeOut The timeout for the request. |
|
13 | + * @param int $timeout The timeout for the request. |
|
14 | 14 | * |
15 | 15 | * @return \Postpay\Http\Response Response from the server. |
16 | 16 | * |