@@ -25,7 +25,7 @@ |
||
| 25 | 25 | /** |
| 26 | 26 | * List recent alerts in the last 48 hours |
| 27 | 27 | * |
| 28 | - * @return \League\Route\Http\JsonResponse |
|
| 28 | + * @return Response\Ok |
|
| 29 | 29 | */ |
| 30 | 30 | public function listRecent() |
| 31 | 31 | { |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | /** |
| 48 | 48 | * Set order by column |
| 49 | 49 | * |
| 50 | - * @param [type] $string [description] |
|
| 50 | + * @param string $string [description] |
|
| 51 | 51 | */ |
| 52 | 52 | public function setOrderBy($string) |
| 53 | 53 | { |
@@ -40,6 +40,9 @@ discard block |
||
| 40 | 40 | */ |
| 41 | 41 | abstract public function getPrimaryKey(); |
| 42 | 42 | |
| 43 | + /** |
|
| 44 | + * @param string $type |
|
| 45 | + */ |
|
| 43 | 46 | public function newQuery($type) |
| 44 | 47 | { |
| 45 | 48 | $factory = new QueryFactory('mysql'); |
@@ -75,7 +78,6 @@ discard block |
||
| 75 | 78 | * Executes read statement |
| 76 | 79 | * |
| 77 | 80 | * @see \Ps2alerts\Api\QueryObjects\QueryObject |
| 78 | - * @param array $wheres The array of where statements to look for. |
|
| 79 | 81 | * @return array |
| 80 | 82 | */ |
| 81 | 83 | public function read(QueryObject $queryObject) |