@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | /** |
15 | 15 | * Constructor injects with DI container and the id to update. |
16 | 16 | * |
17 | - * @param Anax\DI\DIInterface $di a service container |
|
17 | + * @param DIInterface $di a service container |
|
18 | 18 | * @param integer $id to update |
19 | 19 | */ |
20 | 20 | public function __construct(DIInterface $di, $id) |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * Callback for submit-button which should return true if it could |
67 | 67 | * carry out its work and false if something failed. |
68 | 68 | * |
69 | - * @return boolean true if okey, false if something went wrong. |
|
69 | + * @return boolean|null true if okey, false if something went wrong. |
|
70 | 70 | */ |
71 | 71 | public function callbackSubmit() |
72 | 72 | { |
@@ -33,7 +33,6 @@ discard block |
||
33 | 33 | /** |
34 | 34 | * Description. |
35 | 35 | * |
36 | - * @param datatype $variable Description |
|
37 | 36 | * |
38 | 37 | * @throws Exception |
39 | 38 | * |
@@ -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 | * |
@@ -91,7 +89,6 @@ discard block |
||
91 | 89 | /** |
92 | 90 | * Description. |
93 | 91 | * |
94 | - * @param datatype $variable Description |
|
95 | 92 | * |
96 | 93 | * @throws Exception |
97 | 94 | * |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | /** |
15 | 15 | * Constructor injects with DI container and the id to update. |
16 | 16 | * |
17 | - * @param Anax\DI\DIInterface $di a service container |
|
17 | + * @param DIInterface $di a service container |
|
18 | 18 | * @param integer $id to update |
19 | 19 | */ |
20 | 20 | public function __construct(DIInterface $di, $id) |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * Callback for submit-button which should return true if it could |
67 | 67 | * carry out its work and false if something failed. |
68 | 68 | * |
69 | - * @return boolean true if okey, false if something went wrong. |
|
69 | + * @return boolean|null true if okey, false if something went wrong. |
|
70 | 70 | */ |
71 | 71 | public function callbackSubmit() |
72 | 72 | { |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | /** |
15 | 15 | * Constructor injects with DI container and the id to update. |
16 | 16 | * |
17 | - * @param Anax\DI\DIInterface $di a service container |
|
17 | + * @param DIInterface $di a service container |
|
18 | 18 | * @param integer $id to update |
19 | 19 | */ |
20 | 20 | public function __construct(DIInterface $di, $id) |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * Callback for submit-button which should return true if it could |
67 | 67 | * carry out its work and false if something failed. |
68 | 68 | * |
69 | - * @return boolean true if okey, false if something went wrong. |
|
69 | + * @return boolean|null true if okey, false if something went wrong. |
|
70 | 70 | */ |
71 | 71 | public function callbackSubmit() |
72 | 72 | { |
@@ -20,7 +20,6 @@ discard block |
||
20 | 20 | * @param integer $status code to use when delivering the result. |
21 | 21 | * |
22 | 22 | * @SuppressWarnings(PHPMD.ExitExpression) |
23 | - * @param string $title |
|
24 | 23 | * @return void |
25 | 24 | */ |
26 | 25 | public function renderPage($data = null, $status = 200) |
@@ -47,7 +46,6 @@ discard block |
||
47 | 46 | * @param integer $status code to use when delivering the result. |
48 | 47 | * |
49 | 48 | * @SuppressWarnings(PHPMD.ExitExpression) |
50 | - * @param string $title |
|
51 | 49 | * @return void |
52 | 50 | */ |
53 | 51 | public function renderLogin($data = null, $status = 200) |
@@ -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 | */ |