@@ -178,7 +178,7 @@ |
||
| 178 | 178 | /** |
| 179 | 179 | * Save the model data to the database. |
| 180 | 180 | * |
| 181 | - * @return boolean |
|
| 181 | + * @return integer |
|
| 182 | 182 | */ |
| 183 | 183 | public function save() |
| 184 | 184 | { |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | * Reference: https://jtreminio.com/2013/03/unit-testing-tutorial-part-3-testing-protected-private-methods-coverage-reports-and-crap/ |
| 74 | 74 | * Call protected/private method of a class. |
| 75 | 75 | * |
| 76 | - * @param object &$object Instantiated object that we will run method on. |
|
| 76 | + * @param object DatabaseConnection Instantiated object that we will run method on. |
|
| 77 | 77 | * @param string $methodName Method name to call |
| 78 | 78 | * @param array $parameters Array of parameters to pass into method. |
| 79 | 79 | * |
@@ -5,6 +5,9 @@ |
||
| 5 | 5 | class ModelNotFoundException extends \Exception |
| 6 | 6 | { |
| 7 | 7 | |
| 8 | + /** |
|
| 9 | + * @param integer $id |
|
| 10 | + */ |
|
| 8 | 11 | function __construct($id) |
| 9 | 12 | { |
| 10 | 13 | parent::__construct('The requested Model with ' . $id . ' does not exist'); |