Make WordPress Core


Ignore:
Timestamp:
01/03/2021 10:02:13 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Promote many bool types to true or false where only that value is used.

See #51800

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-site-health-auto-updates.php

    r49292 r49927  
    129129         * @since 5.3.0
    130130         *
    131          * @return array|bool The test results. False if auto-updates are enabled.
     131         * @return array|false The test results. False if auto-updates are enabled.
    132132         */
    133133        public function test_wp_automatic_updates_disabled() {
    … …  
    153153         * @since 5.2.0
    154154         *
    155          * @return array|bool The test results. False if the auto-updates failed.
     155         * @return array|false The test results. False if the auto-updates failed.
    156156         */
    157157        function test_if_failed_update() {
    … …  
    303303         * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    304304         *
    305          * @return array|bool The test results. False if they're not writeable.
     305         * @return array|false The test results. False if they're not writeable.
    306306         */
    307307        function test_all_files_writable() {
    … …  
    388388         * @since 5.2.0
    389389         *
    390          * @return array|bool The test results. False if it isn't a development version.
     390         * @return array|false The test results. False if it isn't a development version.
    391391         */
    392392        function test_accepts_dev_updates() {
Note: See TracChangeset for help on using the changeset viewer.