Make WordPress Core


Ignore:
Timestamp:
12/06/2019 10:41:26 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Increase the specificity of various docblock parameter types and return types.

See #48303

File:
1 edited

Legend:

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

    r46696 r46823  
    558558             * @since 2.8.0
    559559             *
    560              * @param mixed  $removed            Whether the destination was cleared. true on success, WP_Error on failure
    561              * @param string $local_destination  The local package destination.
    562              * @param string $remote_destination The remote package destination.
    563              * @param array  $hook_extra         Extra arguments passed to hooked filters.
     560             * @param true|WP_Error $removed            Whether the destination was cleared. true upon success, WP_Error on failure.
     561             * @param string        $local_destination  The local package destination.
     562             * @param string        $remote_destination The remote package destination.
     563             * @param array         $hook_extra         Extra arguments passed to hooked filters.
    564564             */
    565565            $removed = apply_filters( 'upgrader_clear_destination', $removed, $local_destination, $remote_destination, $args['hook_extra'] );
Note: See TracChangeset for help on using the changeset viewer.