@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | /** |
22 | 22 | * Constructor injects with DI container and the id to update. |
23 | 23 | * |
24 | - * @param Anax\DI\DIInterface $di a service container |
|
24 | + * @param DIInterface $di a service container |
|
25 | 25 | */ |
26 | 26 | public function __construct(DIInterface $di) |
27 | 27 | { |
@@ -52,8 +52,8 @@ discard block |
||
52 | 52 | /** |
53 | 53 | * Sets the callable to use for creating routes. |
54 | 54 | * |
55 | - * @param callable $urlCreate to create framework urls. |
|
56 | 55 | * |
56 | + * @param string $route |
|
57 | 57 | * @return void |
58 | 58 | */ |
59 | 59 | public function setUrlCreator($route) |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | /** |
82 | 82 | * Returns text if updated |
83 | 83 | * |
84 | - * @param object $item |
|
84 | + * @param string $item |
|
85 | 85 | * @return string htmlcode |
86 | 86 | */ |
87 | 87 | public function getExtra($item) |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | /** |
120 | 120 | * Returns html for each item |
121 | 121 | * |
122 | - * @param object $item |
|
122 | + * @param Comm $item |
|
123 | 123 | * @param boolean $isadmin |
124 | 124 | * @param string $viewone |
125 | 125 | * |
@@ -30,6 +30,7 @@ discard block |
||
30 | 30 | * @param string $title |
31 | 31 | * @param string $crud, path to view |
32 | 32 | * @param array $data, htmlcontent to view |
33 | + * @param string $crud |
|
33 | 34 | */ |
34 | 35 | public function toRender($title, $crud, $data) |
35 | 36 | { |
@@ -94,7 +95,7 @@ discard block |
||
94 | 95 | |
95 | 96 | /** |
96 | 97 | * |
97 | - * @return sessionobject |
|
98 | + * @return integer |
|
98 | 99 | */ |
99 | 100 | public function getSess() |
100 | 101 | { |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | /** |
22 | 22 | * Constructor injects with DI container and the id to update. |
23 | 23 | * |
24 | - * @param Anax\DI\DIInterface $di a service container |
|
24 | + * @param DIInterface $di a service container |
|
25 | 25 | * @param integer $id to show |
26 | 26 | */ |
27 | 27 | public function __construct(DIInterface $di, $id) |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * Get details on item to load form with. |
59 | 59 | * |
60 | 60 | * @param string $where |
61 | - * @param array $params get details on item with id parentid. |
|
61 | + * @param integer[] $params get details on item with id parentid. |
|
62 | 62 | * |
63 | 63 | * @return Comm |
64 | 64 | */ |
@@ -73,8 +73,8 @@ discard block |
||
73 | 73 | /** |
74 | 74 | * Sets the callable to use for creating routes. |
75 | 75 | * |
76 | - * @param callable $urlCreate to create framework urls. |
|
77 | 76 | * |
77 | + * @param string $route |
|
78 | 78 | * @return void |
79 | 79 | */ |
80 | 80 | public function setUrlCreator($route) |
@@ -101,7 +101,8 @@ discard block |
||
101 | 101 | /** |
102 | 102 | * Returns json_decoded title and text |
103 | 103 | * If lead text, headline is larger font |
104 | - * @param object $item |
|
104 | + * @param Comm $item |
|
105 | + * @param boolean $lead |
|
105 | 106 | * @return string htmlcode |
106 | 107 | */ |
107 | 108 | public function getDecode(Comm $item, $lead = null) |
@@ -123,7 +124,7 @@ discard block |
||
123 | 124 | /** |
124 | 125 | * If param met, returns string with edit-links |
125 | 126 | * @param boolean $isadmin |
126 | - * @param object $item |
|
127 | + * @param Comm $item |
|
127 | 128 | * @param string $del |
128 | 129 | * @return string htmlcode |
129 | 130 | */ |
@@ -167,6 +168,7 @@ discard block |
||
167 | 168 | * @param string $userid |
168 | 169 | * @param string $commid |
169 | 170 | * @param string $htmlcomment, link |
171 | + * @param string $htmlcomment |
|
170 | 172 | * |
171 | 173 | * @return string htmlcode |
172 | 174 | */ |
@@ -186,6 +188,7 @@ discard block |
||
186 | 188 | /** |
187 | 189 | * If session contains correct id, returns string with edit-links |
188 | 190 | * |
191 | + * @param boolean $isadmin |
|
189 | 192 | * @return string htmlcode |
190 | 193 | */ |
191 | 194 | public function getDelete($isadmin, $userid, $del, $commid) |
@@ -200,7 +203,7 @@ discard block |
||
200 | 203 | /** |
201 | 204 | * Returns html for each item |
202 | 205 | * |
203 | - * @param object $item |
|
206 | + * @param Comm $item |
|
204 | 207 | * @param string $can |
205 | 208 | * |
206 | 209 | * @return string htmlcod |