@@ -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 | { |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | /** |
| 52 | 52 | * Returns post with markdown and gravatar |
| 53 | 53 | * @param string $sql |
| 54 | - * @param array $param |
|
| 54 | + * @param string[] $params |
|
| 55 | 55 | * |
| 56 | 56 | * @return array |
| 57 | 57 | */ |