Docs: Improve Style Engine DocBlocks per the documentation standards.
Follow-up to [54156], [55719], [55733]. See #57840. Built from https://develop.svn.wordpress.org/trunk@55819 git-svn-id: http://core.svn.wordpress.org/trunk@55331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -59,7 +59,9 @@ class WP_Style_Engine_Processor {
|
||||
*
|
||||
* @since 6.1.0
|
||||
*
|
||||
* @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.
|
||||
* @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.
|
||||
* @return WP_Style_Engine_Processor Returns the object to allow chaining methods.
|
||||
*/
|
||||
public function add_rules( $css_rules ) {
|
||||
@@ -87,8 +89,10 @@ class WP_Style_Engine_Processor {
|
||||
* @param array $options {
|
||||
* Optional. An array of options. Default empty array.
|
||||
*
|
||||
* @type bool $optimize Whether to optimize the CSS output, e.g., combine rules. Default is `false`.
|
||||
* @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.
|
||||
* @type bool $optimize Whether to optimize the CSS output, e.g. combine rules.
|
||||
* Default false.
|
||||
* @type bool $prettify Whether to add new lines and indents to output.
|
||||
* Defaults to whether the `SCRIPT_DEBUG` constant is defined.
|
||||
* }
|
||||
* @return string The computed CSS.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user