Completed
Push — master ( bf78fd...b40852 )
by Scott
21:09
created
wp-admin/includes/bookmark.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
  * @global wpdb $wpdb WordPress database abstraction object.
83 83
  *
84 84
  * @param int $link_id ID of the link to delete
85
- * @return true Always true.
85
+ * @return boolean Always true.
86 86
  */
87 87
 function wp_delete_link( $link_id ) {
88 88
 	global $wpdb;
Please login to merge, or discard this patch.
wp-admin/includes/class-automatic-upgrader-skin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 	}
60 60
 
61 61
 	/**
62
-	 * @param string|array|WP_Error $data
62
+	 * @param string $data
63 63
 	 */
64 64
 	public function feedback( $data ) {
65 65
 		if ( is_wp_error( $data ) ) {
Please login to merge, or discard this patch.
wp-admin/includes/class-plugin-upgrader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@
 block discarded – undo
204 204
 	 * @since 3.7.0 The `$args` parameter was added, making clearing the plugin update cache optional.
205 205
 	 * @access public
206 206
 	 *
207
-	 * @param array $plugins Array of the basename paths of the plugins' main files.
207
+	 * @param string[] $plugins Array of the basename paths of the plugins' main files.
208 208
 	 * @param array $args {
209 209
 	 *     Optional. Other arguments for upgrading several plugins at once. Default empty array.
210 210
 	 *
Please login to merge, or discard this patch.
wp-admin/includes/class-wp-filesystem-base.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
 	 * @since 2.5.0
392 392
 	 *
393 393
 	 * @param string $mode string The *nix-style file permission.
394
-	 * @return int octal representation
394
+	 * @return string octal representation
395 395
 	 */
396 396
 	public function getnumchmodfromh( $mode ) {
397 397
 		$realmode = '';
@@ -466,7 +466,7 @@  discard block
 block discarded – undo
466 466
 	 * @abstract
467 467
 	 *
468 468
 	 * @param string $file Name of the file to read.
469
-	 * @return mixed|bool Returns the read data or false on failure.
469
+	 * @return boolean Returns the read data or false on failure.
470 470
 	 */
471 471
 	public function get_contents( $file ) {
472 472
 		return false;
Please login to merge, or discard this patch.
wp-admin/includes/class-wp-filesystem-ftpext.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
 	 *
154 154
 	 * @param string $file
155 155
 	 * @param string $contents
156
-	 * @param bool|int $mode
156
+	 * @param string|boolean $mode
157 157
 	 * @return bool
158 158
 	 */
159 159
 	public function put_contents($file, $contents, $mode = false ) {
Please login to merge, or discard this patch.
wp-admin/includes/class-wp-filesystem-ssh2.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
 	/**
264 264
 	 * @access public
265 265
 	 *
266
-	 * @return bool
266
+	 * @return string
267 267
 	 */
268 268
 	public function cwd() {
269 269
 		$cwd = ssh2_sftp_realpath( $this->sftp_link, '.' );
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
 	 * @param string $group
291 291
 	 * @param bool   $recursive
292 292
 	 *
293
-	 * @return bool
293
+	 * @return boolean|string
294 294
 	 */
295 295
 	public function chgrp($file, $group, $recursive = false ) {
296 296
 		if ( ! $this->exists($file) )
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
 	 * @param string     $file      Path to the file.
335 335
 	 * @param string|int $owner     A user name or number.
336 336
 	 * @param bool       $recursive Optional. If set True changes file owner recursivly. Default False.
337
-	 * @return bool True on success or false on failure.
337
+	 * @return boolean|string True on success or false on failure.
338 338
 	 */
339 339
 	public function chown( $file, $owner, $recursive = false ) {
340 340
 		if ( ! $this->exists($file) )
Please login to merge, or discard this patch.
wp-admin/includes/class-wp-list-table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
 	 * @access public
204 204
 	 *
205 205
 	 * @param string $name Property to check if set.
206
-	 * @return bool Whether the property is set.
206
+	 * @return boolean|null Whether the property is set.
207 207
 	 */
208 208
 	public function __isset( $name ) {
209 209
 		if ( in_array( $name, $this->compat_fields ) ) {
Please login to merge, or discard this patch.
wp-admin/includes/class-wp-ms-themes-list-table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
 	/**
59 59
 	 *
60
-	 * @return array
60
+	 * @return string[]
61 61
 	 */
62 62
 	protected function get_table_classes() {
63 63
 		// todo: remove and add CSS for .themes
Please login to merge, or discard this patch.
wp-admin/includes/class-wp-ms-users-list-table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -425,7 +425,7 @@
 block discarded – undo
425 425
 	 * @since 4.3.0
426 426
 	 * @access protected
427 427
 	 *
428
-	 * @param object $user        User being acted upon.
428
+	 * @param WP_User $user        User being acted upon.
429 429
 	 * @param string $column_name Current column name.
430 430
 	 * @param string $primary     Primary column name.
431 431
 	 * @return string Row actions output for users in Multisite.
Please login to merge, or discard this patch.