@@ -14,7 +14,7 @@ |
||
14 | 14 | /** |
15 | 15 | * Constructor injects with DI container. |
16 | 16 | * |
17 | - * @param Anax\DI\DIInterface $di a service container |
|
17 | + * @param DIInterface $di a service container |
|
18 | 18 | */ |
19 | 19 | public function __construct(DIInterface $di) |
20 | 20 | { |
@@ -14,7 +14,7 @@ |
||
14 | 14 | /** |
15 | 15 | * Constructor injects with DI container. |
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) |
@@ -37,7 +37,6 @@ discard block |
||
37 | 37 | /** |
38 | 38 | * Create user. |
39 | 39 | * |
40 | - * @param array $userData Key, value array. |
|
41 | 40 | * |
42 | 41 | * @return void |
43 | 42 | */ |
@@ -52,7 +51,7 @@ discard block |
||
52 | 51 | /** |
53 | 52 | * Update user. |
54 | 53 | * |
55 | - * @param array $user User object. |
|
54 | + * @param User $user User object. |
|
56 | 55 | * |
57 | 56 | * @return void |
58 | 57 | */ |
@@ -68,8 +67,8 @@ discard block |
||
68 | 67 | /** |
69 | 68 | * Delete user. |
70 | 69 | * |
71 | - * @param array $userData Key, value array. |
|
72 | 70 | * |
71 | + * @param integer $id |
|
73 | 72 | * @return void |
74 | 73 | */ |
75 | 74 | public function deleteUser($id) |
@@ -86,7 +85,7 @@ discard block |
||
86 | 85 | /** |
87 | 86 | * Dynamicly set user properties to its value. |
88 | 87 | * |
89 | - * @param array $user user object |
|
88 | + * @param User $user user object |
|
90 | 89 | */ |
91 | 90 | public function setUserData(User $user) |
92 | 91 | { |
@@ -59,7 +59,7 @@ |
||
59 | 59 | * |
60 | 60 | * @param integer $id user id. |
61 | 61 | * |
62 | - * @return boolean |
|
62 | + * @return null|false |
|
63 | 63 | */ |
64 | 64 | public function deleteUser($id) |
65 | 65 | { |