@@ -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, $idcomment, $idpost) |
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, $id) |
21 | 21 | { |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | /** |
18 | 18 | * Constructor injects with DI container. |
19 | 19 | * |
20 | - * @param Anax\DI\DIInterface $di a service container |
|
20 | + * @param DIInterface $di a service container |
|
21 | 21 | */ |
22 | 22 | public function __construct(DIInterface $di) |
23 | 23 | { |
@@ -89,6 +89,10 @@ discard block |
||
89 | 89 | } |
90 | 90 | |
91 | 91 | |
92 | + /** |
|
93 | + * @param string $tags |
|
94 | + * @param integer $postId |
|
95 | + */ |
|
92 | 96 | public function createCategory($tags, $postId) |
93 | 97 | { |
94 | 98 | $postcat = new PostCategory(); |
@@ -207,6 +207,7 @@ discard block |
||
207 | 207 | /** |
208 | 208 | * Execute rawsql |
209 | 209 | * |
210 | + * @param string $sql |
|
210 | 211 | * @return array |
211 | 212 | */ |
212 | 213 | public function findAllSql($sql, $params = []) |
@@ -242,6 +243,7 @@ discard block |
||
242 | 243 | * Save current object/row, insert if id is missing and do an |
243 | 244 | * update if the id exists. |
244 | 245 | * |
246 | + * @param string $idName |
|
245 | 247 | * @return void |
246 | 248 | */ |
247 | 249 | public function save($idName = null, $id = null) |
@@ -306,6 +308,7 @@ discard block |
||
306 | 308 | * Delete row. |
307 | 309 | * |
308 | 310 | * @param integer $id to delete or use $this->id as default. |
311 | + * @param string $idName |
|
309 | 312 | * |
310 | 313 | * @return void |
311 | 314 | */ |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | * an existing object. |
218 | 218 | * |
219 | 219 | * @param string $query the SQL statement |
220 | - * @param array $params the params array |
|
220 | + * @param array $param the params array |
|
221 | 221 | * @param string $object the existing object to insert into |
222 | 222 | * |
223 | 223 | * @return array with resultset |
@@ -405,7 +405,7 @@ discard block |
||
405 | 405 | /** |
406 | 406 | * Return last insert id from autoincremented key on INSERT. |
407 | 407 | * |
408 | - * @return integer as last insert id. |
|
408 | + * @return string as last insert id. |
|
409 | 409 | */ |
410 | 410 | public function lastInsertId() |
411 | 411 | { |
@@ -32,7 +32,6 @@ |
||
32 | 32 | /** |
33 | 33 | * Description. |
34 | 34 | * |
35 | - * @param datatype $variable Description |
|
36 | 35 | * |
37 | 36 | * @throws Exception |
38 | 37 | * |