@@ -47,11 +47,7 @@ discard block |
||
47 | 47 | /** |
48 | 48 | * Creates a user on the panel. Returns the created user's ID. |
49 | 49 | * |
50 | - * @param string $email |
|
51 | - * @param string|null $password An unhashed version of the user's password. |
|
52 | - * @param bool $admin Boolean value if user should be an admin or not. |
|
53 | - * @param int $token A custom user ID. |
|
54 | - * @return bool|int |
|
50 | + * @return Models\User |
|
55 | 51 | */ |
56 | 52 | public function create(array $data) |
57 | 53 | { |
@@ -163,7 +159,7 @@ discard block |
||
163 | 159 | * Deletes a user on the panel, returns the number of records deleted. |
164 | 160 | * |
165 | 161 | * @param int $id |
166 | - * @return int |
|
162 | + * @return boolean |
|
167 | 163 | */ |
168 | 164 | public function delete($id) |
169 | 165 | { |