Completed
Push — try/capabilities ( 843852...1eedd1 )
by
unknown
16:26 queued 10:05
created
modules/shortcodes/vimeo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
packages/capabilities/src/class-capabilities.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -24,11 +24,19 @@
 block discarded – undo
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
 	}
Please login to merge, or discard this patch.