- Timestamp:
- 05/17/2023 11:56:47 AM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/style-engine/class-wp-style-engine-css-rule.php
r55733 r55819 37 37 38 38 /** 39 * Constructor 39 * Constructor. 40 40 * 41 41 * @since 6.1.0 42 42 * 43 * @param string $selector The CSS selector. 44 * @param string[]|WP_Style_Engine_CSS_Declarations $declarations An associative array of CSS definitions, e.g., `array( "$property" => "$value", "$property" => "$value" )`, 43 * @param string $selector Optional. The CSS selector. Default empty string. 44 * @param string[]|WP_Style_Engine_CSS_Declarations $declarations Optional. An associative array of CSS definitions, 45 * e.g. `array( "$property" => "$value", "$property" => "$value" )`, 45 46 * or a WP_Style_Engine_CSS_Declarations object. 47 * Default empty array. 46 48 */ 47 49 public function __construct( $selector = '', $declarations = array() ) { … … 68 70 * @since 6.1.0 69 71 * 70 * @param array|WP_Style_Engine_CSS_Declarations $declarations An array of declarations (property => value pairs),71 * or a WP_Style_Engine_CSS_Declarations object.72 * @param string[]|WP_Style_Engine_CSS_Declarations $declarations An array of declarations (property => value pairs), 73 * or a WP_Style_Engine_CSS_Declarations object. 72 74 * @return WP_Style_Engine_CSS_Rule Returns the object to allow chaining of methods. 73 75 */ … … 115 117 * @since 6.1.0 116 118 * 117 * @param bool $should_prettify Whether to add spacing, new lines and indents. 118 * @param int $indent_count The number of tab indents to apply to the rule. Applies if `prettify` is `true`. 119 * @param bool $should_prettify Optional. Whether to add spacing, new lines and indents. 120 * Default false. 121 * @param int $indent_count Optional. The number of tab indents to apply to the rule. 122 * Applies if `prettify` is `true`. Default 0. 119 123 * @return string 120 124 */
Note: See TracChangeset
for help on using the changeset viewer.