Completed
Push — update/set-blocks-dir-conditio... ( 1cc839 )
by Bernhard
07:44
created
class.jetpack-gutenberg.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
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
  *
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 	/**
99 99
 	 * Checks for a given .json file in the blocks folder.
100 100
 	 *
101
-	 * @param $preset The name of the .json file to look for.
101
+	 * @param string $preset The name of the .json file to look for.
102 102
 	 *
103 103
 	 * @return bool True if the file is found.
104 104
 	 */
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 	/**
110 110
 	 * Decodes JSON loaded from a preset file in the blocks folder
111 111
 	 *
112
-	 * @param $preset The name of the .json file to load.
112
+	 * @param string $preset The name of the .json file to load.
113 113
 	 *
114 114
 	 * @return mixed Returns an object if the file is present, or false if a valid .json file is not present.
115 115
 	 */
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
 	 * Only enqueue block assets when needed.
218 218
 	 *
219 219
 	 * @param string $type slug of the block.
220
-	 * @param array $script_dependencies An array of view-side Javascript dependencies to be enqueued.
220
+	 * @param string[] $script_dependencies An array of view-side Javascript dependencies to be enqueued.
221 221
 	 *
222 222
 	 * @return void
223 223
 	 */
Please login to merge, or discard this patch.