@@ -532,7 +532,7 @@ |
||
532 | 532 | * @param string[] $value Test files |
533 | 533 | * @param array $params Hook params |
534 | 534 | * |
535 | - * @return array |
|
535 | + * @return string[] |
|
536 | 536 | */ |
537 | 537 | function _elgg_htmlawed_test($hook, $type, $value, $params) { |
538 | 538 | $value[] = Paths::elgg() . 'engine/tests/ElggHtmLawedTest.php'; |
@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | * @param bool $allow_multiple_emails Allow the same email address to be |
293 | 293 | * registered multiple times? |
294 | 294 | * |
295 | - * @return int|false The new user's GUID; false on failure |
|
295 | + * @return integer The new user's GUID; false on failure |
|
296 | 296 | * @throws RegistrationException |
297 | 297 | */ |
298 | 298 | function register_user($username, $password, $name, $email, $allow_multiple_emails = false) { |
@@ -414,7 +414,7 @@ discard block |
||
414 | 414 | /** |
415 | 415 | * Sets the last action time of the given user to right now. |
416 | 416 | * |
417 | - * @param ElggUser|int $user The user or GUID |
|
417 | + * @param ElggUser $user The user or GUID |
|
418 | 418 | * @return void |
419 | 419 | */ |
420 | 420 | function set_last_action($user) { |
@@ -695,7 +695,7 @@ discard block |
||
695 | 695 | * /avatar/edit/<username> |
696 | 696 | * |
697 | 697 | * @param array $page |
698 | - * @return bool |
|
698 | + * @return boolean|null |
|
699 | 699 | * @access private |
700 | 700 | */ |
701 | 701 | function elgg_avatar_page_handler($page) { |