Make WordPress Core


Ignore:
Timestamp:
01/10/2015 06:12:25 AM (12 years ago)
Author:
wonderboymusic
Message:

Adding a @return annotation to constructors is generally not recommended as a constructor does not have a meaningful return value - anything that is returned is discarded.

See #30799.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php

    r30978 r31125  
    2727                if ( ! extension_loaded('ftp') ) {
    2828                        $this->errors->add('no_ftp_ext', __('The ftp PHP extension is not available'));
    29                         return false;
     29                        return;
    3030                }
    3131
Note: See TracChangeset for help on using the changeset viewer.