Skip to content

Commit f751875

Browse files
authored
Merge pull request #3 from pixelalbatross/fix/docblock
2 parents b18f277 + 0379235 commit f751875

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

build/accordion-item/render.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
/**
33
* Accordion Item
44
*
5-
* @param array $attributes Block attributes.
6-
* @param string $content Block default content.
7-
* @param \WP_Block $block Block instance.
5+
* @var array $attributes Block attributes.
6+
* @var string $content Block default content.
7+
* @var \WP_Block $block Block instance.
88
*
99
* @package pixelalbatross/accordion-block
1010
*/
@@ -44,7 +44,7 @@ class="accordion-button"
4444
/**
4545
* Fires before the accordion item title.
4646
*
47-
* @param string {title} Accordion item title.
47+
* @param string $title Accordion item title.
4848
*/
4949
do_action( 'pixelalbatross_accordion_block_before_item_title', $attributes['title'] );
5050
?>
@@ -55,9 +55,9 @@ class="accordion-button"
5555

5656
<?php
5757
/**
58-
* Fires after the accordion item title
58+
* Fires after the accordion item title.
5959
*
60-
* @param string {title} Accordion item title.
60+
* @param string $title Accordion item title.
6161
*/
6262
do_action( 'pixelalbatross_accordion_block_after_item_title', $attributes['title'] );
6363
?>

build/accordion/render.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
/**
33
* Accordion
44
*
5-
* @param array $attributes Block attributes.
6-
* @param string $content Block default content.
7-
* @param \WP_Block $block Block instance.
5+
* @var array $attributes Block attributes.
6+
* @var string $content Block default content.
7+
* @var \WP_Block $block Block instance.
88
*
99
* @package pixelalbatross/accordion-block
1010
*/

src/accordion/render.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
/**
33
* Accordion
44
*
5-
* @param array $attributes Block attributes.
6-
* @param string $content Block default content.
7-
* @param \WP_Block $block Block instance.
5+
* @var array $attributes Block attributes.
6+
* @var string $content Block default content.
7+
* @var \WP_Block $block Block instance.
88
*
99
* @package pixelalbatross/accordion-block
1010
*/

0 commit comments

Comments
 (0)