Skip to content

Commit

Permalink
Fixed more docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
MaggieCabrera committed Jun 26, 2023
1 parent a72e5b9 commit 2631e83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-duotone.php
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ private static function is_preset( $duotone_attr ) {
}

/**
* Get the CSS variable name for a duotone preset.
* Gets the CSS variable name for a duotone preset.
*
* @param string $slug The slug of the duotone preset.
* @return string The CSS variable name.
Expand Down
6 changes: 5 additions & 1 deletion tests/phpunit/tests/block-supports/duotone.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ public static function wpTearDownAfterClass() {
/**
* Tests whether the duotone preset class is added to the block.
*
* @ticket 58555
*
* @covers ::render_duotone_support
*/
public function test_render_duotone_support_preset() {
Expand All @@ -33,6 +35,8 @@ public function test_render_duotone_support_preset() {
/**
* Tests whether the duotone unset class is added to the block.
*
* @ticket 58555
*
* @covers ::render_duotone_support
*/
public function test_render_duotone_support_css() {
Expand Down Expand Up @@ -76,7 +80,7 @@ public function data_get_slug_from_attribute() {

/**
* Tests whether the slug is extracted from the attribute.
*
*
* @dataProvider data_get_slug_from_attribute
* @covers ::get_slug_from_attribute
*/
Expand Down

0 comments on commit 2631e83

Please sign in to comment.