@@ -44,7 +44,7 @@ |
||
44 | 44 | * @param array $attr The attributes of the shortcode. |
45 | 45 | * @param array $old_attr Optional array of attributes from the old shortcode format. |
46 | 46 | * |
47 | - * @return array Width and height. |
|
47 | + * @return integer[] Width and height. |
|
48 | 48 | */ |
49 | 49 | function jetpack_shortcode_get_vimeo_dimensions( $attr, $old_attr = array() ) { |
50 | 50 | global $content_width; |
@@ -24,11 +24,19 @@ |
||
24 | 24 | } |
25 | 25 | |
26 | 26 | // phpcs:ignore Squiz.Commenting.FunctionComment.Missing |
27 | + |
|
28 | + /** |
|
29 | + * @param string $name |
|
30 | + */ |
|
27 | 31 | public static function get( $name ) { |
28 | 32 | return self::$capabilities[ $name ]; |
29 | 33 | } |
30 | 34 | |
31 | 35 | // phpcs:ignore Squiz.Commenting.FunctionComment.Missing |
36 | + |
|
37 | + /** |
|
38 | + * @param Capability $capability |
|
39 | + */ |
|
32 | 40 | public static function register( $capability ) { |
33 | 41 | self::$capabilities[ $capability->name ] = $capability; |
34 | 42 | } |