@@ -16,7 +16,6 @@ |
||
| 16 | 16 | * This method authenticate user and log them in if the supplied |
| 17 | 17 | * credentials are valid. |
| 18 | 18 | * |
| 19 | - * @param array $loginParams |
|
| 20 | 19 | * |
| 21 | 20 | * @return json jwt |
| 22 | 21 | */ |
@@ -74,6 +74,9 @@ |
||
| 74 | 74 | |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | + /** |
|
| 78 | + * @param string $keywords |
|
| 79 | + */ |
|
| 77 | 80 | public function createEmojiKeywords($emoji_id, $keywords) |
| 78 | 81 | { |
| 79 | 82 | if ($keywords) { |
@@ -254,6 +254,8 @@ |
||
| 254 | 254 | |
| 255 | 255 | /** |
| 256 | 256 | * This method authenticate and return user id |
| 257 | + * @param Request $request |
|
| 258 | + * @param Response $response |
|
| 257 | 259 | */ |
| 258 | 260 | public function getCurrentUserId($request, $response) |
| 259 | 261 | { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * |
| 13 | 13 | * @param $data |
| 14 | 14 | * |
| 15 | - * @return bool true |
|
| 15 | + * @return boolean|null true |
|
| 16 | 16 | */ |
| 17 | 17 | public function createUser(array $data) |
| 18 | 18 | { |