@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | /** |
| 35 | 35 | * Returns post with markdown and gravatar |
| 36 | 36 | * @param string $sql |
| 37 | - * @param array $param |
|
| 37 | + * @param array $params |
|
| 38 | 38 | * |
| 39 | 39 | * @return array |
| 40 | 40 | */ |
@@ -63,6 +63,7 @@ discard block |
||
| 63 | 63 | /** |
| 64 | 64 | * return question/answer, three attributes are set, comments connected to them is an array. |
| 65 | 65 | * |
| 66 | + * @param string $sql |
|
| 66 | 67 | * @return object |
| 67 | 68 | */ |
| 68 | 69 | public function getPost($sql, $params) |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | /** |
| 15 | 15 | * Constructor injects with DI container. |
| 16 | 16 | * |
| 17 | - * @param Anax\DI\DIInterface $di a service container |
|
| 17 | + * @param DIInterface $di a service container |
|
| 18 | 18 | */ |
| 19 | 19 | public function __construct(DIInterface $di, $questionId) |
| 20 | 20 | { |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | /** |
| 38 | 38 | * View specific question and create answer form |
| 39 | 39 | * |
| 40 | - * @return void |
|
| 40 | + * @return boolean |
|
| 41 | 41 | */ |
| 42 | 42 | public function getPostQuestionAnswer($id) |
| 43 | 43 | { |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | /** |
| 66 | 66 | * View specific question and create answer form |
| 67 | 67 | * |
| 68 | - * @return void |
|
| 68 | + * @return boolean |
|
| 69 | 69 | */ |
| 70 | 70 | public function postComment($id) |
| 71 | 71 | { |