@@ -14,15 +14,15 @@ |
||
14 | 14 | public $request; |
15 | 15 | |
16 | 16 | /** |
17 | - * __construct function. |
|
18 | - * |
|
19 | - * Instantiates the main class. |
|
20 | - * Creates a client which is passed to the request construct. |
|
21 | - * |
|
22 | - * @auth_string string Authentication string for QuickPay |
|
23 | - * |
|
24 | - * @access public |
|
25 | - */ |
|
17 | + * __construct function. |
|
18 | + * |
|
19 | + * Instantiates the main class. |
|
20 | + * Creates a client which is passed to the request construct. |
|
21 | + * |
|
22 | + * @auth_string string Authentication string for QuickPay |
|
23 | + * |
|
24 | + * @access public |
|
25 | + */ |
|
26 | 26 | public function __construct($auth_string = '') |
27 | 27 | { |
28 | 28 | $client = new Client($auth_string); |
@@ -27,6 +27,7 @@ discard block |
||
27 | 27 | * Instantiates the object |
28 | 28 | * |
29 | 29 | * @access public |
30 | + * @param Client $client |
|
30 | 31 | */ |
31 | 32 | public function __construct($client) |
32 | 33 | { |
@@ -67,6 +68,7 @@ discard block |
||
67 | 68 | * Performs an API POST request |
68 | 69 | * |
69 | 70 | * @access public |
71 | + * @param string $path |
|
70 | 72 | * @return Response |
71 | 73 | */ |
72 | 74 | public function post($path, $form = array()) |
@@ -195,7 +197,7 @@ discard block |
||
195 | 197 | * Kept public for testing purposes. |
196 | 198 | * |
197 | 199 | * @param array $query |
198 | - * @return mixed|string |
|
200 | + * @return string |
|
199 | 201 | */ |
200 | 202 | public function httpBuildQuery($query) |
201 | 203 | { |