Completed
Push — renovate/eslint-5.x ( aebcef...efd5db )
by
unknown
66:49 queued 60:01
created
class.jetpack-gutenberg.php 1 patch
Doc Comments   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
  *
@@ -134,7 +134,6 @@  discard block
 block discarded – undo
134 134
 	/**
135 135
 	 * Add a block to the list of blocks to be registered.
136 136
 	 *
137
-	 * @param string $slug Slug of the block.
138 137
 	 * @param array  $args Arguments that are passed into the register_block_type.
139 138
 	 * @param array $availability array containing if a block is available and the reason when it is not.
140 139
 	 *
@@ -254,7 +253,7 @@  discard block
 block discarded – undo
254 253
 	/**
255 254
 	 * Checks for a given .json file in the blocks folder.
256 255
 	 *
257
-	 * @param $preset The name of the .json file to look for.
256
+	 * @param string $preset The name of the .json file to look for.
258 257
 	 *
259 258
 	 * @return bool True if the file is found.
260 259
 	 */
@@ -265,7 +264,7 @@  discard block
 block discarded – undo
265 264
 	/**
266 265
 	 * Decodes JSON loaded from a preset file in the blocks folder
267 266
 	 *
268
-	 * @param $preset The name of the .json file to load.
267
+	 * @param string $preset The name of the .json file to load.
269 268
 	 *
270 269
 	 * @return mixed Returns an object if the file is present, or false if a valid .json file is not present.
271 270
 	 */
@@ -369,7 +368,7 @@  discard block
 block discarded – undo
369 368
 	 * Only enqueue block assets when needed.
370 369
 	 *
371 370
 	 * @param string $type slug of the block.
372
-	 * @param array $script_dependencies An array of view-side Javascript dependencies to be enqueued.
371
+	 * @param string[] $script_dependencies An array of view-side Javascript dependencies to be enqueued.
373 372
 	 *
374 373
 	 * @return void
375 374
 	 */
Please login to merge, or discard this patch.