@@ -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 | { |
@@ -152,6 +152,7 @@ discard block |
||
152 | 152 | * Save current object/row, insert if id is missing and do an |
153 | 153 | * update if the id exists. |
154 | 154 | * |
155 | + * @param string $idName |
|
155 | 156 | * @return void |
156 | 157 | */ |
157 | 158 | public function save($idName = null, $id = null) |
@@ -219,6 +220,7 @@ discard block |
||
219 | 220 | * Delete row. |
220 | 221 | * |
221 | 222 | * @param integer $id to delete or use $this->id as default. |
223 | + * @param string $idName |
|
222 | 224 | * |
223 | 225 | * @return void |
224 | 226 | */ |
@@ -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) |