@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | /** |
| 193 | 193 | * Checks for a given .json file in the blocks folder. |
| 194 | 194 | * |
| 195 | - * @param $preset The name of the .json file to look for. |
|
| 195 | + * @param string $preset The name of the .json file to look for. |
|
| 196 | 196 | * |
| 197 | 197 | * @return bool True if the file is found. |
| 198 | 198 | */ |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | /** |
| 204 | 204 | * Decodes JSON loaded from a preset file in the blocks folder |
| 205 | 205 | * |
| 206 | - * @param $preset The name of the .json file to load. |
|
| 206 | + * @param string $preset The name of the .json file to load. |
|
| 207 | 207 | * |
| 208 | 208 | * @return mixed Returns an object if the file is present, or false if a valid .json file is not present. |
| 209 | 209 | */ |
@@ -313,7 +313,7 @@ discard block |
||
| 313 | 313 | * Only enqueue block assets when needed. |
| 314 | 314 | * |
| 315 | 315 | * @param string $type slug of the block. |
| 316 | - * @param array $script_dependencies An array of view-side Javascript dependencies to be enqueued. |
|
| 316 | + * @param string[] $script_dependencies An array of view-side Javascript dependencies to be enqueued. |
|
| 317 | 317 | * |
| 318 | 318 | * @return void |
| 319 | 319 | */ |