@@ -19,15 +19,15 @@ |
||
19 | 19 | protected $client; |
20 | 20 | |
21 | 21 | /** |
22 | - * __construct function. |
|
23 | - * |
|
24 | - * Instantiates the main class. |
|
25 | - * Creates a client which is passed to the request construct. |
|
26 | - * |
|
27 | - * @auth_string string Authentication string for QuickPay |
|
28 | - * |
|
29 | - * @access public |
|
30 | - */ |
|
22 | + * __construct function. |
|
23 | + * |
|
24 | + * Instantiates the main class. |
|
25 | + * Creates a client which is passed to the request construct. |
|
26 | + * |
|
27 | + * @auth_string string Authentication string for QuickPay |
|
28 | + * |
|
29 | + * @access public |
|
30 | + */ |
|
31 | 31 | public function __construct($auth_string = '', $additional_headers = array()) |
32 | 32 | { |
33 | 33 | $this->client = new Client($auth_string, $additional_headers); |
@@ -56,7 +56,7 @@ |
||
56 | 56 | ); |
57 | 57 | |
58 | 58 | if (!empty($this->auth_string)) { |
59 | - $this->headers[] = 'Authorization: Basic ' . base64_encode($this->auth_string); |
|
59 | + $this->headers[] = 'Authorization: Basic '.base64_encode($this->auth_string); |
|
60 | 60 | } |
61 | 61 | |
62 | 62 | // Instantiate cURL object |