Completed
Push — add/sync-rest-2 ( aea86a...aeaf78 )
by
unknown
09:12
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.
json-endpoints/jetpack/class.jetpack-json-api-get-options-endpoint.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -59,9 +59,7 @@
 block discarded – undo
59 59
 	 * Get individual setting
60 60
 	 *
61 61
 	 * @param  sting $name
62
-	 * @param  string $type
63 62
 	 * @param  string or array $callback
64
-	 * @param  boolean $is_constant
65 63
 	 * @return value of the setting
66 64
 	 */
67 65
 	static function get( $name ) {
Please login to merge, or discard this patch.
class.jetpack-sync.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -398,6 +398,11 @@  discard block
 block discarded – undo
398 398
 	/* Options Sync */
399 399
 
400 400
 	/* Ah... so much simpler than Posts and Comments :) */
401
+
402
+	/**
403
+	 * @param string $file
404
+	 * @param string $option
405
+	 */
401 406
 	function options( $file, $option /*, $option, ... */ ) {
402 407
 		$options = func_get_args();
403 408
 		$file    = array_shift( $options );
@@ -506,6 +511,7 @@  discard block
 block discarded – undo
506 511
 
507 512
 	/**
508 513
 	 * Returns default values of Constants
514
+	 * @param string $constant
509 515
 	 */
510 516
 	function default_constant( $constant ) {
511 517
 		switch ( $constant ) {
Please login to merge, or discard this patch.