@@ -15,7 +15,6 @@ discard block |
||
15 | 15 | /** |
16 | 16 | * Get details on item to load form with. |
17 | 17 | * |
18 | - * @param integer $id get details on item with id. |
|
19 | 18 | * |
20 | 19 | * @return object true if okey, false if something went wrong. |
21 | 20 | */ |
@@ -58,7 +57,6 @@ discard block |
||
58 | 57 | /** |
59 | 58 | * Description. |
60 | 59 | * |
61 | - * @param datatype $variable Description |
|
62 | 60 | * |
63 | 61 | * @throws Exception |
64 | 62 | * |
@@ -85,7 +83,6 @@ discard block |
||
85 | 83 | /** |
86 | 84 | * Description. |
87 | 85 | * |
88 | - * @param datatype $variable Description |
|
89 | 86 | * |
90 | 87 | * @throws Exception |
91 | 88 | * |
@@ -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 | */ |
@@ -30,7 +30,6 @@ discard block |
||
30 | 30 | /** |
31 | 31 | * Set ups the question |
32 | 32 | * @param object $question |
33 | - * @param array $param |
|
34 | 33 | * |
35 | 34 | * @return object |
36 | 35 | */ |
@@ -53,7 +52,7 @@ discard block |
||
53 | 52 | /** |
54 | 53 | * Returns post with markdown and gravatar |
55 | 54 | * @param string $sql |
56 | - * @param array $param |
|
55 | + * @param array $params |
|
57 | 56 | * |
58 | 57 | * @return array |
59 | 58 | */ |