Completed
Push — fix/vimeo-regex-number-replace... ( f9d52c...c75352 )
by
unknown
09:46
created
modules/shortcodes/soundcloud.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -137,8 +137,8 @@  discard block
 block discarded – undo
137 137
 /**
138 138
  * Plugin options getter
139 139
  *
140
- * @param  string|array $option  Option name
141
- * @param  mixed        $default Default value
140
+ * @param  string $option  Option name
141
+ * @param  string        $default Default value
142 142
  *
143 143
  * @return mixed                   Option value
144 144
  */
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
  *
165 165
  * @param  string $url
166 166
  *
167
- * @return boolean
167
+ * @return integer
168 168
  */
169 169
 function soundcloud_url_has_tracklist( $url ) {
170 170
 	return preg_match( '/^(.+?)\/(sets|groups|playlists)\/(.+?)$/', $url );
Please login to merge, or discard this patch.
json-endpoints/class.wpcom-json-api-site-settings-v1-2-endpoint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -27,6 +27,9 @@
 block discarded – undo
27 27
 	}
28 28
 
29 29
 
30
+	/**
31
+	 * @param string $key
32
+	 */
30 33
 	protected function get_locale( $key ) {
31 34
 		if ( 'locale' == $key ) {
32 35
 			if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
Please login to merge, or discard this patch.
sal/class.json-api-site-jetpack-base.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -4,12 +4,27 @@
 block discarded – undo
4 4
 require_once dirname( __FILE__ ) . '/class.json-api-site-base.php';
5 5
 
6 6
 abstract class Abstract_Jetpack_Site extends SAL_Site {
7
+
8
+	/**
9
+	 * @param string $name
10
+	 */
7 11
 	abstract protected function get_constant( $name );
8 12
 
13
+	/**
14
+	 * @param string $feature_name
15
+	 */
9 16
 	abstract protected function current_theme_supports( $feature_name );
10 17
 
18
+	/**
19
+	 * @param string $feature_name
20
+	 */
11 21
 	abstract protected function get_theme_support( $feature_name );
12 22
 
23
+	/**
24
+	 * @param string $name
25
+	 *
26
+	 * @return string
27
+	 */
13 28
 	abstract protected function get_mock_option( $name );
14 29
 
15 30
 	abstract protected function get_jetpack_version();
Please login to merge, or discard this patch.
modules/shortcodes/vimeo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -280,7 +280,7 @@
 block discarded – undo
280 280
  *
281 281
  * @since 3.9.6
282 282
  *
283
- * @param array $regexes
283
+ * @param string[] $regexes
284 284
  *
285 285
  * @return string
286 286
  */
Please login to merge, or discard this patch.