Make WordPress Core


Ignore:
Timestamp:
05/17/2023 11:56:47 AM (17 months ago)
Author:
SergeyBiryukov
Message:

Docs: Improve Style Engine DocBlocks per the documentation standards.

Follow-up to [54156], [55719], [55733].

See #57840.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/style-engine/class-wp-style-engine-processor.php

    r55733 r55819  
    6060     * @since 6.1.0
    6161     *
    62      * @param WP_Style_Engine_CSS_Rule|WP_Style_Engine_CSS_Rule[] $css_rules A single, or an array of, WP_Style_Engine_CSS_Rule objects from a store or otherwise.
     62     * @param WP_Style_Engine_CSS_Rule|WP_Style_Engine_CSS_Rule[] $css_rules A single, or an array of,
     63     *                                                                       WP_Style_Engine_CSS_Rule objects
     64     *                                                                       from a store or otherwise.
    6365     * @return WP_Style_Engine_Processor Returns the object to allow chaining methods.
    6466     */
     
    8890     *     Optional. An array of options. Default empty array.
    8991     *
    90      *     @type bool $optimize Whether to optimize the CSS output, e.g., combine rules. Default is `false`.
    91      *     @type bool $prettify Whether to add new lines and indents to output. Default is the test of whether the global constant `SCRIPT_DEBUG` is defined.
     92     *     @type bool $optimize Whether to optimize the CSS output, e.g. combine rules.
     93     *                          Default false.
     94     *     @type bool $prettify Whether to add new lines and indents to output.
     95     *                          Defaults to whether the `SCRIPT_DEBUG` constant is defined.
    9296     * }
    9397     * @return string The computed CSS.
Note: See TracChangeset for help on using the changeset viewer.