@@ -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 | * |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | /** |
| 103 | 103 | * Checks for a given .json file in the blocks folder. |
| 104 | 104 | * |
| 105 | - * @param $preset The name of the .json file to look for. |
|
| 105 | + * @param string $preset The name of the .json file to look for. |
|
| 106 | 106 | * |
| 107 | 107 | * @return bool True if the file is found. |
| 108 | 108 | */ |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | /** |
| 114 | 114 | * Decodes JSON loaded from a preset file in the blocks folder |
| 115 | 115 | * |
| 116 | - * @param $preset The name of the .json file to load. |
|
| 116 | + * @param string $preset The name of the .json file to load. |
|
| 117 | 117 | * |
| 118 | 118 | * @return mixed Returns an object if the file is present, or false if a valid .json file is not present. |
| 119 | 119 | */ |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | * Only enqueue block assets when needed. |
| 222 | 222 | * |
| 223 | 223 | * @param string $type slug of the block. |
| 224 | - * @param array $script_dependencies An array of view-side Javascript dependencies to be enqueued. |
|
| 224 | + * @param string[] $script_dependencies An array of view-side Javascript dependencies to be enqueued. |
|
| 225 | 225 | * @param array $localize_data An array of view-side Javascript object accessible though the window object |
| 226 | 226 | * |
| 227 | 227 | * @return void |