@@ -17,6 +17,7 @@ |
||
| 17 | 17 | * Redefine the exception so message isn't optional |
| 18 | 18 | * |
| 19 | 19 | * @access public |
| 20 | + * @param string $message |
|
| 20 | 21 | * @return void |
| 21 | 22 | */ |
| 22 | 23 | public function __construct($message, $code = 0, Exception $previous = null) |
@@ -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 |
@@ -27,6 +27,7 @@ discard block |
||
| 27 | 27 | * Instantiates the object |
| 28 | 28 | * |
| 29 | 29 | * @access public |
| 30 | + * @param Client $client |
|
| 30 | 31 | * @return object |
| 31 | 32 | */ |
| 32 | 33 | public function __construct( $client ) |
@@ -68,6 +69,7 @@ discard block |
||
| 68 | 69 | * Performs an API POST request |
| 69 | 70 | * |
| 70 | 71 | * @access public |
| 72 | + * @param string $path |
|
| 71 | 73 | * @return Response |
| 72 | 74 | */ |
| 73 | 75 | public function post( $path, $form = array() ) |
@@ -21,13 +21,13 @@ |
||
| 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 | - * @access public |
|
| 30 | - */ |
|
| 24 | + * __construct function. |
|
| 25 | + * |
|
| 26 | + * Instantiates the main class. |
|
| 27 | + * Creates a client which is passed to the request construct. |
|
| 28 | + * |
|
| 29 | + * @access public |
|
| 30 | + */ |
|
| 31 | 31 | public function __construct( $auth_string = '' ) |
| 32 | 32 | { |
| 33 | 33 | $client = new Client($auth_string); |
@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace QuickPay\API; |
| 3 | 3 | /** |
| 4 | - * @class QuickPay_Client |
|
| 5 | - * @since 1.0.0 |
|
| 6 | - * @package QuickPay |
|
| 7 | - * @category Class |
|
| 8 | - * @author Patrick Tolvstein, Perfect Solution ApS |
|
| 9 | - * @docs http://tech.quickpay.net/api/ |
|
| 10 | - */ |
|
| 4 | + * @class QuickPay_Client |
|
| 5 | + * @since 1.0.0 |
|
| 6 | + * @package QuickPay |
|
| 7 | + * @category Class |
|
| 8 | + * @author Patrick Tolvstein, Perfect Solution ApS |
|
| 9 | + * @docs http://tech.quickpay.net/api/ |
|
| 10 | + */ |
|
| 11 | 11 | class Client |
| 12 | 12 | { |
| 13 | 13 | /** |
@@ -1,13 +1,13 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace QuickPay\API; |
| 3 | 3 | /** |
| 4 | - * @class QuickPay_Response |
|
| 5 | - * @since 1.0.0 |
|
| 6 | - * @package QuickPay |
|
| 7 | - * @category Class |
|
| 8 | - * @author Patrick Tolvstein, Perfect Solution ApS |
|
| 9 | - * @docs http://tech.quickpay.net/api/ |
|
| 10 | - */ |
|
| 4 | + * @class QuickPay_Response |
|
| 5 | + * @since 1.0.0 |
|
| 6 | + * @package QuickPay |
|
| 7 | + * @category Class |
|
| 8 | + * @author Patrick Tolvstein, Perfect Solution ApS |
|
| 9 | + * @docs http://tech.quickpay.net/api/ |
|
| 10 | + */ |
|
| 11 | 11 | class Response |
| 12 | 12 | { |
| 13 | 13 | /** |
@@ -85,7 +85,7 @@ discard block |
||
| 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 | ]; |
@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace QuickPay\API; |
| 3 | 3 | /** |
| 4 | - * @class QuickPay_Constants |
|
| 5 | - * @since 1.0.0 |
|
| 6 | - * @package QuickPay |
|
| 7 | - * @category Class |
|
| 8 | - * @author Patrick Tolvstein, Perfect Solution ApS |
|
| 9 | - * @docs http://tech.quickpay.net/api/ |
|
| 10 | - */ |
|
| 4 | + * @class QuickPay_Constants |
|
| 5 | + * @since 1.0.0 |
|
| 6 | + * @package QuickPay |
|
| 7 | + * @category Class |
|
| 8 | + * @author Patrick Tolvstein, Perfect Solution ApS |
|
| 9 | + * @docs http://tech.quickpay.net/api/ |
|
| 10 | + */ |
|
| 11 | 11 | class Constants |
| 12 | 12 | { |
| 13 | 13 | /** |