Completed
Push — simplify/jetpack-gutenberg-cla... ( 150837...f61510 )
by Bernhard
09:27 queued 02:43
created
class.jetpack-gutenberg.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -90,6 +90,9 @@  discard block
 block discarded – undo
90 90
 		}
91 91
 	}
92 92
 
93
+	/**
94
+	 * @param string $slug
95
+	 */
93 96
 	public static function register_plugin( $slug ) {
94 97
 		if ( in_array( $slug, self::$extensions ) ) {
95 98
 			self::$registered_plugins[] = 'jetpack-' . $slug;
@@ -172,7 +175,7 @@  discard block
 block discarded – undo
172 175
 	/**
173 176
 	 * Checks for a given .json file in the blocks folder.
174 177
 	 *
175
-	 * @param $preset The name of the .json file to look for.
178
+	 * @param string $preset The name of the .json file to look for.
176 179
 	 *
177 180
 	 * @return bool True if the file is found.
178 181
 	 */
@@ -183,7 +186,7 @@  discard block
 block discarded – undo
183 186
 	/**
184 187
 	 * Decodes JSON loaded from a preset file in the blocks folder
185 188
 	 *
186
-	 * @param $preset The name of the .json file to load.
189
+	 * @param string $preset The name of the .json file to load.
187 190
 	 *
188 191
 	 * @return mixed Returns an object if the file is present, or false if a valid .json file is not present.
189 192
 	 */
@@ -293,7 +296,7 @@  discard block
 block discarded – undo
293 296
 	 * Only enqueue block assets when needed.
294 297
 	 *
295 298
 	 * @param string $type slug of the block.
296
-	 * @param array $script_dependencies An array of view-side Javascript dependencies to be enqueued.
299
+	 * @param string[] $script_dependencies An array of view-side Javascript dependencies to be enqueued.
297 300
 	 *
298 301
 	 * @return void
299 302
 	 */
Please login to merge, or discard this patch.