Skip to content

Commit 0ab1b33

Browse files
committed
docs: validate_another_blog_signup() never returns null
1 parent 0a46fd7 commit 0ab1b33

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/wp-signup.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,10 @@ function signup_another_blog( $blogname = '', $blog_title = '', $errors = '' ) {
432432
* @global string $domain The new site's domain.
433433
* @global string $path The new site's path.
434434
*
435-
* @return null|bool True if site signup was validated, false on error.
436-
* The function halts all execution if the user is not logged in.
435+
* @return bool True if site signup was validated, false on error.
436+
* The function halts all execution if the user is not logged in.
437+
*
438+
* @phpstan-return bool|never
437439
*/
438440
function validate_another_blog_signup() {
439441
global $blogname, $blog_title, $errors, $domain, $path;

0 commit comments

Comments
 (0)