Completed
Push — update/avail-check-logic ( d23ca0 )
by
unknown
11:05 queued 03:46
created
class.jetpack-gutenberg.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -462,7 +462,7 @@  discard block
 block discarded – undo
462 462
 	 * Only enqueue block assets when needed.
463 463
 	 *
464 464
 	 * @param string $type Slug of the block.
465
-	 * @param array  $script_dependencies Script dependencies. Will be merged with automatically
465
+	 * @param string[]  $script_dependencies Script dependencies. Will be merged with automatically
466 466
 	 *                                    detected script dependencies from the webpack build.
467 467
 	 *
468 468
 	 * @return void
@@ -836,6 +836,9 @@  discard block
 block discarded – undo
836 836
 		return Jetpack_Plan::supports( BLOCK_NAME );
837 837
 	}
838 838
 
839
+	/**
840
+	 * @param string $callback
841
+	 */
839 842
 	public static function register_block_with_availability( $block_name, $callback, $availability ) {
840 843
 		$availability_check_result = self::is_block_available( $block_name, $availability );
841 844
 		if ( is_bool( $availability_check_result ) && $availability_check_result ) {
Please login to merge, or discard this patch.