@@ -55,7 +55,6 @@ discard block |
||
55 | 55 | /** |
56 | 56 | * Description. |
57 | 57 | * |
58 | - * @param datatype $variable Description |
|
59 | 58 | * |
60 | 59 | * @throws Exception |
61 | 60 | * |
@@ -78,7 +77,6 @@ discard block |
||
78 | 77 | /** |
79 | 78 | * Description. |
80 | 79 | * |
81 | - * @param datatype $variable Description |
|
82 | 80 | * |
83 | 81 | * @throws Exception |
84 | 82 | * |
@@ -100,7 +98,6 @@ discard block |
||
100 | 98 | /** |
101 | 99 | * Description. |
102 | 100 | * |
103 | - * @param datatype $variable Description |
|
104 | 101 | * |
105 | 102 | * @throws Exception |
106 | 103 | * |
@@ -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, $id) |
20 | 20 | { |
@@ -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 | */ |
@@ -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 | { |