@@ -43,6 +43,7 @@ |
||
| 43 | 43 | * @param String $action The action name. |
| 44 | 44 | * @param Integer|bool $user_id The user identifier. Defaults to `false`. |
| 45 | 45 | * @param Integer $exp Expiration time in seconds. |
| 46 | + * @return string|boolean |
|
| 46 | 47 | */ |
| 47 | 48 | public function generate( $action, $user_id = false, $exp = 600 ) { |
| 48 | 49 | if ( false === $user_id ) { |