@@ -12,13 +12,13 @@ |
||
| 12 | 12 | class Exception extends \Exception |
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | - * __Construct function. |
|
| 16 | - * |
|
| 17 | - * Redefine the exception so message isn't optional |
|
| 18 | - * |
|
| 19 | - * @access public |
|
| 20 | - * @return void |
|
| 21 | - */ |
|
| 15 | + * __Construct function. |
|
| 16 | + * |
|
| 17 | + * Redefine the exception so message isn't optional |
|
| 18 | + * |
|
| 19 | + * @access public |
|
| 20 | + * @return void |
|
| 21 | + */ |
|
| 22 | 22 | public function __construct($message, $code = 0, Exception $previous = null) |
| 23 | 23 | { |
| 24 | 24 | // Make sure everything is assigned properly |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | return [ |
| 86 | 86 | $this->status_code, |
| 87 | 87 | ['sent' => $sent_headers, |
| 88 | - 'received' => $this->received_headers, |
|
| 88 | + 'received' => $this->received_headers, |
|
| 89 | 89 | ], |
| 90 | 90 | $this->response_data, |
| 91 | 91 | ]; |
@@ -21,15 +21,15 @@ |
||
| 21 | 21 | |
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | - * __construct function. |
|
| 25 | - * |
|
| 26 | - * Instantiates the main class. |
|
| 27 | - * Creates a client which is passed to the request construct. |
|
| 28 | - * |
|
| 29 | - * @auth_string string Authentication string for QuickPay |
|
| 30 | - * |
|
| 31 | - * @access public |
|
| 32 | - */ |
|
| 24 | + * __construct function. |
|
| 25 | + * |
|
| 26 | + * Instantiates the main class. |
|
| 27 | + * Creates a client which is passed to the request construct. |
|
| 28 | + * |
|
| 29 | + * @auth_string string Authentication string for QuickPay |
|
| 30 | + * |
|
| 31 | + * @access public |
|
| 32 | + */ |
|
| 33 | 33 | public function __construct($auth_string = '') |
| 34 | 34 | { |
| 35 | 35 | $client = new Client($auth_string); |