Make WordPress Core


Ignore:
Timestamp:
04/28/2022 09:44:12 AM (4 years ago)
Author:
johnbillion
Message:

Docs: Various docblock improvements.

See #54729

File:
1 edited

Legend:

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

    r53131 r53299  
    18521852     *
    18531853     * @param string $host The DB_HOST setting to parse.
    1854      * @return array|false Array containing the host, the port, the socket and
    1855      *                     whether it is an IPv6 address, in that order.
    1856      *                     False if $host couldn't be parsed.
     1854     * @return array|false {
     1855     *     Array containing the host, the port, the socket and
     1856     *     whether it is an IPv6 address, in that order.
     1857     *     False if the host couldn't be parsed.
     1858     *
     1859     *     @type string      $0 Host name.
     1860     *     @type string|null $1 Port.
     1861     *     @type string|null $2 Socket.
     1862     *     @type bool        $3 Whether it is an IPv6 address.
     1863     * }
    18571864     */
    18581865    public function parse_db_host( $host ) {
     
    30443051     * @param string $table  Table name.
    30453052     * @param string $column Column name.
    3046      * @return array|false|WP_Error array( 'length' => (int), 'type' => 'byte' | 'char' ).
    3047      *                              False if the column has no length (for example, numeric column).
    3048      *                              WP_Error object if there was an error.
     3053     * @return array|false|WP_Error {
     3054     *     Array of column length information, false if the column has no length (for
     3055     *     example, numeric column), WP_Error object if there was an error.
     3056     *
     3057     *     @type int    $length The column length.
     3058     *     @type string $type   One of 'byte' or 'char'.
    30493059     */
    30503060    public function get_col_length( $table, $column ) {
Note: See TracChangeset for help on using the changeset viewer.