diff -r 34716fd837a4 -r be944660c56a wp/wp-includes/class-wp-network.php --- a/wp/wp-includes/class-wp-network.php Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-includes/class-wp-network.php Wed Sep 21 18:19:35 2022 +0200 @@ -89,7 +89,7 @@ * @global wpdb $wpdb WordPress database abstraction object. * * @param int $network_id The ID of the network to retrieve. - * @return WP_Network|bool The network's object if found. False if not. + * @return WP_Network|false The network's object if found. False if not. */ public static function get_instance( $network_id ) { global $wpdb; @@ -326,7 +326,7 @@ * @param string $domain Domain to check. * @param string $path Path to check. * @param int|null $segments Path segments to use. Defaults to null, or the full path. - * @return WP_Network|bool Network object if successful. False when no network is found. + * @return WP_Network|false Network object if successful. False when no network is found. */ public static function get_by_path( $domain = '', $path = '', $segments = null ) { $domains = array( $domain ); @@ -407,7 +407,7 @@ * * @since 3.9.0 * - * @param null|bool|WP_Network $network Network value to return by path. Default null + * @param null|false|WP_Network $network Network value to return by path. Default null * to continue retrieving the network. * @param string $domain The requested domain. * @param string $path The requested path, in full.