@@ -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) |
@@ -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() ) |
@@ -14,8 +14,7 @@ |
||
| 14 | 14 | try |
| 15 | 15 | { |
| 16 | 16 | throw new Exception($this->testMessage, $this->testCode); |
| 17 | - } |
|
| 18 | - catch(Exception $e) |
|
| 17 | + } catch(Exception $e) |
|
| 19 | 18 | { |
| 20 | 19 | $this->assertEquals($e->getMessage(), $this->testMessage); |
| 21 | 20 | $this->assertEquals($e->getCode(), $this->testCode); |