Make WordPress Core


Ignore:
Timestamp:
07/23/2020 09:09:04 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Another pass at some inline docs fixes mostly made by PHPCBF.

See #49572, #50744

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/wp-db.php

    r48507 r48590  
    22232223     *                             If omitted, all values in $data will be treated as strings unless otherwise
    22242224     *                             specified in wpdb::$field_types.
    2225      * @param string $type         Optional. Type of operation. Possible values include 'INSERT' or 'REPLACE'.
     2225     * @param string       $type   Optional. Type of operation. Possible values include 'INSERT' or 'REPLACE'.
    22262226     *                             Default 'INSERT'.
    22272227     * @return int|false The number of rows affected, or false on error.
     
    26622662     *                       of each row's first column's value. Duplicate keys are discarded.
    26632663     * @return array|object|null Database query results.
    2664      *
    26652664     */
    26662665    public function get_results( $query = null, $output = OBJECT ) {
     
    33963395     * @since 0.71
    33973396     *
    3398      * @param string $info_type Optional. Possible values include 'name', 'table', 'def', 'max_length',
    3399      *                          'not_null', 'primary_key', 'multiple_key', 'unique_key', 'numeric',
    3400      *                          'blob', 'type', 'unsigned', 'zerofill'. Default 'name'.
    3401      * @param int $col_offset  Optional. 0: col name. 1: which table the col's in. 2: col's max length.
    3402      *                          3: if the col is numeric. 4: col's type. Default -1.
     3397     * @param string $info_type  Optional. Possible values include 'name', 'table', 'def', 'max_length',
     3398     *                           'not_null', 'primary_key', 'multiple_key', 'unique_key', 'numeric',
     3399     *                           'blob', 'type', 'unsigned', 'zerofill'. Default 'name'.
     3400     * @param int    $col_offset Optional. 0: col name. 1: which table the col's in. 2: col's max length.
     3401     *                           3: if the col is numeric. 4: col's type. Default -1.
    34033402     * @return mixed Column results.
    34043403     */
Note: See TracChangeset for help on using the changeset viewer.