WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/26/2019 09:07:10 PM (2 years ago)
Author:
johnbillion
Message:

Docs: Switch more docs over to typed array notation, plus some fixes.

See #48303, #41756

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader.php

    r45932 r46596  
    176176     * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    177177     *
    178      * @param array $directories                  Optional. A list of directories. If any of these do
    179      *                                            not exist, a WP_Error object will be returned.
    180      *                                            Default empty array.
    181      * @param bool  $allow_relaxed_file_ownership Whether to allow relaxed file ownership.
    182      *                                            Default false.
     178     * @param string[] $directories                  Optional. Array of directories. If any of these do
     179     *                                               not exist, a WP_Error object will be returned.
     180     *                                               Default empty array.
     181     * @param bool     $allow_relaxed_file_ownership Whether to allow relaxed file ownership.
     182     *                                               Default false.
    183183     * @return bool|WP_Error True if able to connect, false or a WP_Error otherwise.
    184184     */
Note: See TracChangeset for help on using the changeset viewer.