@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | * |
| 12 | 12 | * @param string $type Slug of the block. Will be prefixed with jetpack/. |
| 13 | 13 | * @param array $args Arguments that are passed into the register_block_type. |
| 14 | - * @param array $avalibility Arguments that tells us what kind of avalibility the block has |
|
| 14 | + * @param array $availability Arguments that tells us what kind of avalibility the block has |
|
| 15 | 15 | * |
| 16 | 16 | * @see register_block_type |
| 17 | 17 | * |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | /** |
| 82 | 82 | * Checks for a given .json file in the `_inc/blocks` folder. |
| 83 | 83 | * |
| 84 | - * @param $preset The name of the .json file to look for. |
|
| 84 | + * @param string $preset The name of the .json file to look for. |
|
| 85 | 85 | * |
| 86 | 86 | * @return bool True if the file is found. |
| 87 | 87 | */ |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | /** |
| 93 | 93 | * Decodes JSON loaded from a preset file in `_inc/blocks` |
| 94 | 94 | * |
| 95 | - * @param $preset The name of the .json file to load. |
|
| 95 | + * @param string $preset The name of the .json file to load. |
|
| 96 | 96 | * |
| 97 | 97 | * @return mixed Returns an object if the file is present, or false if a valid .json file is not present. |
| 98 | 98 | */ |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | * Only enqueue block assets when needed. |
| 198 | 198 | * |
| 199 | 199 | * @param string $type slug of the block. |
| 200 | - * @param array $script_dependencies An array of view-side Javascript dependencies to be enqueued. |
|
| 200 | + * @param string[] $script_dependencies An array of view-side Javascript dependencies to be enqueued. |
|
| 201 | 201 | * |
| 202 | 202 | * @return void |
| 203 | 203 | */ |