@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | * |
12 | 12 | * @param string $slug Slug of the block |
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 | * |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | * Helper function to register a Jetpack Gutenberg plugin |
28 | 28 | * |
29 | 29 | * @param string $slug Slug of the plugin. |
30 | - * @param array $avalibility Arguments that tells us what kind of avalibility the plugin has |
|
30 | + * @param array $availability Arguments that tells us what kind of avalibility the plugin has |
|
31 | 31 | * |
32 | 32 | * @see register_block_type |
33 | 33 | * |
@@ -109,7 +109,6 @@ discard block |
||
109 | 109 | /** |
110 | 110 | * Add a block to the list of blocks to be registered. |
111 | 111 | * |
112 | - * @param string $slug Slug of the block. |
|
113 | 112 | * @param array $args Arguments that are passed into the register_block_type. |
114 | 113 | * @param array $availability array containing if a block is available and the reason when it is not. |
115 | 114 | * |
@@ -242,7 +241,7 @@ discard block |
||
242 | 241 | /** |
243 | 242 | * Checks for a given .json file in the blocks folder. |
244 | 243 | * |
245 | - * @param $preset The name of the .json file to look for. |
|
244 | + * @param string $preset The name of the .json file to look for. |
|
246 | 245 | * |
247 | 246 | * @return bool True if the file is found. |
248 | 247 | */ |
@@ -253,7 +252,7 @@ discard block |
||
253 | 252 | /** |
254 | 253 | * Decodes JSON loaded from a preset file in the blocks folder |
255 | 254 | * |
256 | - * @param $preset The name of the .json file to load. |
|
255 | + * @param string $preset The name of the .json file to load. |
|
257 | 256 | * |
258 | 257 | * @return mixed Returns an object if the file is present, or false if a valid .json file is not present. |
259 | 258 | */ |