WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/25/2018 07:32:24 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Document more parameters and properties using typed array notation.

See #41756

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-site-query.php

    r42836 r42876  
    308308         * @since 4.6.0
    309309         *
    310          * @param array         $_sites An array of WP_Site objects.
     310         * @param WP_Site[]     $_sites An array of WP_Site objects.
    311311         * @param WP_Site_Query $this   Current instance of WP_Site_Query (passed by reference).
    312312         */
     
    510510             * @since 4.6.0
    511511             *
    512              * @param array         $search_columns Array of column names to be searched.
     512             * @param string[]      $search_columns Array of column names to be searched.
    513513             * @param string        $search         Text being searched.
    514514             * @param WP_Site_Query $this           The current WP_Site_Query instance.
     
    536536         * @since 4.6.0
    537537         *
    538          * @param array         $pieces A compacted array of site query clauses.
     538         * @param string[]      $pieces An associative array of site query clauses.
    539539         * @param WP_Site_Query $this   Current instance of WP_Site_Query (passed by reference).
    540540         */
     
    615615     * @global wpdb  $wpdb WordPress database abstraction object.
    616616     *
    617      * @param string $string  Search string.
    618      * @param array  $columns Columns to search.
     617     * @param string   $string  Search string.
     618     * @param string[] $columns Array of columns to search.
    619619     * @return string Search SQL.
    620620     */
Note: See TracChangeset for help on using the changeset viewer.