@@ -50,7 +50,7 @@ |
||
| 50 | 50 | /** |
| 51 | 51 | * Returns post with markdown and gravatar |
| 52 | 52 | * @param string $sql |
| 53 | - * @param array $param |
|
| 53 | + * @param array $params |
|
| 54 | 54 | * |
| 55 | 55 | * @return array |
| 56 | 56 | */ |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | /** |
| 16 | 16 | * Constructor injects with DI container and the id to update. |
| 17 | 17 | * |
| 18 | - * @param Anax\DI\DIInterface $di a service container |
|
| 18 | + * @param DIInterface $di a service container |
|
| 19 | 19 | * @param integer $id to update |
| 20 | 20 | */ |
| 21 | 21 | public function __construct(DIInterface $di, $id) |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | * get details for the user based on sessio |
| 77 | 77 | * |
| 78 | 78 | * |
| 79 | - * @return object the user |
|
| 79 | + * @return boolean the user |
|
| 80 | 80 | */ |
| 81 | 81 | public function controlAuthority() |
| 82 | 82 | { |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | * Callback for submit-button which should return true if it could |
| 98 | 98 | * carry out its work and false if something failed. |
| 99 | 99 | * |
| 100 | - * @return void |
|
| 100 | + * @return false|null |
|
| 101 | 101 | */ |
| 102 | 102 | public function callbackDelete() |
| 103 | 103 | { |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | * Callback for submit-button which should return true if it could |
| 118 | 118 | * carry out its work and false if something failed. |
| 119 | 119 | * |
| 120 | - * @return void |
|
| 120 | + * @return false|null |
|
| 121 | 121 | */ |
| 122 | 122 | public function callbackSubmit() |
| 123 | 123 | { |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | /** |
| 16 | 16 | * Constructor injects with DI container. |
| 17 | 17 | * |
| 18 | - * @param Anax\DI\DIInterface $di a service container |
|
| 18 | + * @param DIInterface $di a service container |
|
| 19 | 19 | */ |
| 20 | 20 | public function __construct(DIInterface $di) |
| 21 | 21 | { |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | /** |
| 16 | 16 | * Constructor injects with DI container. |
| 17 | 17 | * |
| 18 | - * @param Anax\DI\DIInterface $di a service container |
|
| 18 | + * @param DIInterface $di a service container |
|
| 19 | 19 | */ |
| 20 | 20 | public function __construct(DIInterface $di) |
| 21 | 21 | { |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | /** |
| 51 | 51 | * Returns post with markdown and gravatar |
| 52 | 52 | * @param string $sql |
| 53 | - * @param array $param |
|
| 53 | + * @param array $params |
|
| 54 | 54 | * |
| 55 | 55 | * @return array |
| 56 | 56 | */ |
@@ -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 | { |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | /** |
| 30 | 30 | * Returns post with markdown and gravatar |
| 31 | 31 | * @param string $sql |
| 32 | - * @param array $param |
|
| 32 | + * @param array $params |
|
| 33 | 33 | * |
| 34 | 34 | * @return array |
| 35 | 35 | */ |
@@ -94,7 +94,6 @@ discard block |
||
| 94 | 94 | /** |
| 95 | 95 | * Returns gravatar link |
| 96 | 96 | * |
| 97 | - * @param string $email |
|
| 98 | 97 | * |
| 99 | 98 | * @return string as gravatar link |
| 100 | 99 | */ |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | /** |
| 19 | 19 | * View specific question and create answer form |
| 20 | 20 | * |
| 21 | - * @return void |
|
| 21 | + * @return boolean |
|
| 22 | 22 | */ |
| 23 | 23 | public function postComment($id) |
| 24 | 24 | { |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | /** |
| 40 | 40 | * View specific question and create answer form |
| 41 | 41 | * |
| 42 | - * @return void |
|
| 42 | + * @return boolean |
|
| 43 | 43 | */ |
| 44 | 44 | public function postVote() |
| 45 | 45 | { |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | /** |
| 65 | 65 | * View specific question and create answer form |
| 66 | 66 | * |
| 67 | - * @return void |
|
| 67 | + * @return boolean |
|
| 68 | 68 | */ |
| 69 | 69 | public function postAcceptedAnswer($id) |
| 70 | 70 | { |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | * @param string $sql |
| 32 | 32 | * @param array $params |
| 33 | 33 | * |
| 34 | - * @return object |
|
| 34 | + * @return Vote |
|
| 35 | 35 | */ |
| 36 | 36 | public function getVote($sql, $params) |
| 37 | 37 | { |
@@ -50,8 +50,8 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * Checks if vote already exists, then either create new or update |
| 53 | - * @param array $params |
|
| 54 | 53 | * |
| 54 | + * @param string $user |
|
| 55 | 55 | * @return bool |
| 56 | 56 | */ |
| 57 | 57 | public function saveVote($user, $parentId, $parentType, $voteType = "like") |
@@ -86,7 +86,6 @@ discard block |
||
| 86 | 86 | /** |
| 87 | 87 | * Control if user has already liked or not |
| 88 | 88 | * @param string $user |
| 89 | - * @param array $params |
|
| 90 | 89 | * |
| 91 | 90 | * @return bool |
| 92 | 91 | */ |
@@ -108,7 +107,6 @@ discard block |
||
| 108 | 107 | /** |
| 109 | 108 | * Control if user has already liked or not |
| 110 | 109 | * @param string $user |
| 111 | - * @param array $params |
|
| 112 | 110 | * |
| 113 | 111 | * @return bool |
| 114 | 112 | */ |