@@ -82,7 +82,7 @@  | 
                                                    ||
| 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;  | 
                                                        
@@ -59,7 +59,7 @@  | 
                                                    ||
| 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 ) ) { | 
                                                        
@@ -204,7 +204,7 @@  | 
                                                    ||
| 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 | *  | 
                                                        
@@ -391,7 +391,7 @@ discard block  | 
                                                    ||
| 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  | 
                                                    ||
| 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;  | 
                                                        
@@ -153,7 +153,7 @@  | 
                                                    ||
| 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 ) { | 
                                                        
@@ -263,7 +263,7 @@ discard block  | 
                                                    ||
| 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  | 
                                                    ||
| 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  | 
                                                    ||
| 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) )  | 
                                                        
@@ -57,7 +57,7 @@  | 
                                                    ||
| 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  | 
                                                        
@@ -425,7 +425,7 @@  | 
                                                    ||
| 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.  | 
                                                        
@@ -512,7 +512,7 @@ discard block  | 
                                                    ||
| 512 | 512 | |
| 513 | 513 | /**  | 
                                                        
| 514 | 514 | *  | 
                                                        
| 515 | - * @return array  | 
                                                        |
| 515 | + * @return string[]  | 
                                                        |
| 516 | 516 | */  | 
                                                        
| 517 | 517 |  	protected function get_table_classes() { | 
                                                        
| 518 | 518 | return array( 'widefat', 'fixed', 'striped', is_post_type_hierarchical( $this->screen->post_type ) ? 'pages' : 'posts' );  | 
                                                        
@@ -1190,7 +1190,7 @@ discard block  | 
                                                    ||
| 1190 | 1190 | * @since 4.3.0  | 
                                                        
| 1191 | 1191 | * @access protected  | 
                                                        
| 1192 | 1192 | *  | 
                                                        
| 1193 | - * @param object $post Post being acted upon.  | 
                                                        |
| 1193 | + * @param WP_Post $post Post being acted upon.  | 
                                                        |
| 1194 | 1194 | * @param string $column_name Current column name.  | 
                                                        
| 1195 | 1195 | * @param string $primary Primary column name.  | 
                                                        
| 1196 | 1196 | * @return string Row actions output for posts.  |