@@ -172,7 +172,7 @@ |
||
| 172 | 172 | * @param array $post_types - other post types. |
| 173 | 173 | * |
| 174 | 174 | * @see hook 'rest_api_allowed_post_types' |
| 175 | - * @return array |
|
| 175 | + * @return string[] |
|
| 176 | 176 | */ |
| 177 | 177 | public function allow_rest_api_types( $post_types ) { |
| 178 | 178 | $post_types[] = self::$post_type_plan; |
@@ -456,7 +456,7 @@ discard block |
||
| 456 | 456 | * Only enqueue block assets when needed. |
| 457 | 457 | * |
| 458 | 458 | * @param string $type Slug of the block. |
| 459 | - * @param array $script_dependencies Script dependencies. Will be merged with automatically |
|
| 459 | + * @param string[] $script_dependencies Script dependencies. Will be merged with automatically |
|
| 460 | 460 | * detected script dependencies from the webpack build. |
| 461 | 461 | * |
| 462 | 462 | * @return void |
@@ -697,7 +697,7 @@ discard block |
||
| 697 | 697 | * |
| 698 | 698 | * @param string $slug Block slug. |
| 699 | 699 | * @param array $attr Block attributes. |
| 700 | - * @param array $extra Potential extra classes you may want to provide. |
|
| 700 | + * @param string[] $extra Potential extra classes you may want to provide. |
|
| 701 | 701 | * |
| 702 | 702 | * @return string $classes List of CSS classes for a block. |
| 703 | 703 | */ |