@@ -119,8 +119,8 @@ |
||
119 | 119 | /** |
120 | 120 | * Determines whether tracking should be enabled. |
121 | 121 | * |
122 | - * @param Automattic\Jetpack\Terms_Of_Service $terms_of_service A Terms_Of_Service object. |
|
123 | - * @param Automattic\Jetpack\Status $status A Status object. |
|
122 | + * @param Terms_Of_Service $terms_of_service A Terms_Of_Service object. |
|
123 | + * @param Status $status A Status object. |
|
124 | 124 | * |
125 | 125 | * @return boolean True if tracking should be enabled, else false. |
126 | 126 | */ |
@@ -583,7 +583,7 @@ discard block |
||
583 | 583 | * Only enqueue block assets when needed. |
584 | 584 | * |
585 | 585 | * @param string $type Slug of the block. |
586 | - * @param array $script_dependencies Script dependencies. Will be merged with automatically |
|
586 | + * @param string[] $script_dependencies Script dependencies. Will be merged with automatically |
|
587 | 587 | * detected script dependencies from the webpack build. |
588 | 588 | * |
589 | 589 | * @return void |
@@ -837,7 +837,7 @@ discard block |
||
837 | 837 | * |
838 | 838 | * @param string $slug Block slug. |
839 | 839 | * @param array $attr Block attributes. |
840 | - * @param array $extra Potential extra classes you may want to provide. |
|
840 | + * @param string[] $extra Potential extra classes you may want to provide. |
|
841 | 841 | * |
842 | 842 | * @return string $classes List of CSS classes for a block. |
843 | 843 | */ |
@@ -934,10 +934,10 @@ discard block |
||
934 | 934 | * @since 8.3.0 |
935 | 935 | * |
936 | 936 | * @param string $url URL saved as an attribute in block. |
937 | - * @param array $allowed Array of allowed hosts for that block, or regexes to check against. |
|
937 | + * @param string[] $allowed Array of allowed hosts for that block, or regexes to check against. |
|
938 | 938 | * @param bool $is_regex Array of regexes matching the URL that could be used in block. |
939 | 939 | * |
940 | - * @return bool|string |
|
940 | + * @return false|string |
|
941 | 941 | */ |
942 | 942 | public static function validate_block_embed_url( $url, $allowed = array(), $is_regex = false ) { |
943 | 943 | if ( |
@@ -105,7 +105,7 @@ |
||
105 | 105 | /** |
106 | 106 | * Returns an instance of the Jetpack object. |
107 | 107 | * |
108 | - * @return Automattic\Jetpack |
|
108 | + * @return Jetpack |
|
109 | 109 | */ |
110 | 110 | public function get_jetpack() { |
111 | 111 | return Jetpack::init(); |