@@ -214,6 +214,9 @@ discard block |
||
214 | 214 | } |
215 | 215 | } |
216 | 216 | |
217 | + /** |
|
218 | + * @param string $type |
|
219 | + */ |
|
217 | 220 | static function get_video_poster( $type, $id ) { |
218 | 221 | if ( 'videopress' == $type ) { |
219 | 222 | if ( function_exists( 'video_get_highest_resolution_image_url' ) ) { |
@@ -267,6 +270,9 @@ discard block |
||
267 | 270 | return str_word_count( self::clean_text( $post_content ) ); |
268 | 271 | } |
269 | 272 | |
273 | + /** |
|
274 | + * @param string $excerpt_content |
|
275 | + */ |
|
270 | 276 | static function get_word_remaining_count( $post_content, $excerpt_content ) { |
271 | 277 | return str_word_count( self::clean_text( $post_content ) ) - str_word_count( self::clean_text( $excerpt_content ) ); |
272 | 278 | } |
@@ -424,7 +424,7 @@ |
||
424 | 424 | * Only enqueue block assets when needed. |
425 | 425 | * |
426 | 426 | * @param string $type Slug of the block. |
427 | - * @param array $script_dependencies An array of view-side Javascript dependencies to be enqueued. |
|
427 | + * @param string[] $script_dependencies An array of view-side Javascript dependencies to be enqueued. |
|
428 | 428 | * |
429 | 429 | * @return void |
430 | 430 | */ |