Move the private property definition to the top of the class
This commit is contained in:
@ -11,13 +11,12 @@ class MP2Migrator extends APIEndpoint {
|
||||
public $permissions = array(
|
||||
'global' => AccessControl::PERMISSION_MANAGE_SETTINGS
|
||||
);
|
||||
private $MP2Migrator;
|
||||
|
||||
public function __construct() {
|
||||
$this->MP2Migrator = new \MailPoet\Config\MP2Migrator();
|
||||
}
|
||||
|
||||
private $MP2Migrator;
|
||||
|
||||
/**
|
||||
* Import end point
|
||||
*
|
||||
|
Reference in New Issue
Block a user