Commit d17327f9 authored by andypost's avatar andypost

Add type for return value

parent 5b85d131
...@@ -22,7 +22,7 @@ use Drupal\user\UserInterface; ...@@ -22,7 +22,7 @@ use Drupal\user\UserInterface;
* @param \Drupal\user\UserInterface $account * @param \Drupal\user\UserInterface $account
* The user object on which the operation is being performed. * The user object on which the operation is being performed.
* *
* @return * @return string
* A string defining a generated username. * A string defining a generated username.
*/ */
function hook_email_registration_name(UserInterface $account) { function hook_email_registration_name(UserInterface $account) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment